From a488a255ff152a0b780b2cfaaa718838379663ab Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sun, 7 Jan 2024 17:57:04 +0100 Subject: [PATCH] try fix mac --- external/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index e60289e..b6b9e37 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -14,6 +14,7 @@ if (NOT TARGET imgui) FetchContent_Declare(imgui GIT_REPOSITORY https://github.com/ocornut/imgui.git GIT_TAG d4ddc46e7 + EXCLUDE_FROM_ALL ) # imgui does not provide a cmake @@ -48,6 +49,7 @@ if (NOT TARGET imgui) ${imgui_SOURCE_DIR}/misc/cpp/imgui_stdlib.cpp ) target_include_directories(imgui PUBLIC ${imgui_SOURCE_DIR}) + target_compile_features(imgui PUBLIC cxx_std_11) endif() #FetchContent_MakeAvailable(imgui) endif()