From 964bb0ffb98923f324e23681107b461f36deddc1 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sun, 6 Oct 2024 11:29:52 +0200 Subject: [PATCH] update imgui and fix compilation varation --- external/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt index dfe4d44..0b81be3 100644 --- a/external/CMakeLists.txt +++ b/external/CMakeLists.txt @@ -13,7 +13,7 @@ endif() if (NOT TARGET imgui) FetchContent_Declare(imgui GIT_REPOSITORY https://github.com/ocornut/imgui.git - GIT_TAG 8199457 # v1.91.0 + GIT_TAG cb16568 # v1.91.3 EXCLUDE_FROM_ALL ) @@ -50,6 +50,7 @@ if (NOT TARGET imgui) ) target_include_directories(imgui PUBLIC ${imgui_SOURCE_DIR}) target_compile_features(imgui PUBLIC cxx_std_11) + target_compile_definitions(imgui PUBLIC IMGUI_USE_WCHAR32) endif() #FetchContent_MakeAvailable(imgui) endif()