From a67c7cf77e83d883e09b35248ad555eb69a193bb Mon Sep 17 00:00:00 2001 From: Ivan Kulikov Date: Sun, 24 May 2020 11:56:10 +0300 Subject: [PATCH] Switched from setting set_target_properties to target_compile_features cxx_std_98 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7280ea245..74ebd85c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ add_library(imgui::imgui ALIAS imgui) target_include_directories (imgui PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}") -set_target_properties(imgui PROPERTIES CXX_STANDARD 11) +target_compile_features(imgui PRIVATE cxx_std_98) if (IMGUI_EXAMPLES) # Sets up polyfill libraries for Windows examples (e.g. GLFW)