diff --git a/CMakeLists.txt b/CMakeLists.txt index 77dc97b9..52ed6fb3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5...3.22) +cmake_minimum_required(VERSION 3.12...3.22) project(polyscope) diff --git a/deps/imgui/imgui b/deps/imgui/imgui index 277ae93c..8199457a 160000 --- a/deps/imgui/imgui +++ b/deps/imgui/imgui @@ -1 +1 @@ -Subproject commit 277ae93c41314ba5f4c7444f37c4319cdf07e8cf +Subproject commit 8199457a7d9e453f8d3d9cadc14683fb54a858b5 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9d03d967..11fd7c85 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -362,7 +362,7 @@ install(TARGETS polyscope) install(DIRECTORY ${INCLUDE_ROOT}/ DESTINATION "${CMAKE_INSTALL_PREFIX}/include/polyscope") # Required compiler settings -set_property(TARGET polyscope PROPERTY CXX_STANDARD 11) +set_property(TARGET polyscope PROPERTY CXX_STANDARD 17) set_property(TARGET polyscope PROPERTY CXX_STANDARD_REQUIRED TRUE) set_target_properties(polyscope PROPERTIES POSITION_INDEPENDENT_CODE TRUE) add_definitions(-DNOMINMAX)