update imgui and fix compilation varation

This commit is contained in:
Green Sky 2024-10-06 11:29:52 +02:00
parent d7400e375c
commit 964bb0ffb9
No known key found for this signature in database

View File

@ -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()