update imgui and fix compilation varation
This commit is contained in:
parent
d7400e375c
commit
964bb0ffb9
3
external/CMakeLists.txt
vendored
3
external/CMakeLists.txt
vendored
@ -13,7 +13,7 @@ endif()
|
|||||||
if (NOT TARGET imgui)
|
if (NOT TARGET imgui)
|
||||||
FetchContent_Declare(imgui
|
FetchContent_Declare(imgui
|
||||||
GIT_REPOSITORY https://github.com/ocornut/imgui.git
|
GIT_REPOSITORY https://github.com/ocornut/imgui.git
|
||||||
GIT_TAG 8199457 # v1.91.0
|
GIT_TAG cb16568 # v1.91.3
|
||||||
EXCLUDE_FROM_ALL
|
EXCLUDE_FROM_ALL
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -50,6 +50,7 @@ if (NOT TARGET imgui)
|
|||||||
)
|
)
|
||||||
target_include_directories(imgui PUBLIC ${imgui_SOURCE_DIR})
|
target_include_directories(imgui PUBLIC ${imgui_SOURCE_DIR})
|
||||||
target_compile_features(imgui PUBLIC cxx_std_11)
|
target_compile_features(imgui PUBLIC cxx_std_11)
|
||||||
|
target_compile_definitions(imgui PUBLIC IMGUI_USE_WCHAR32)
|
||||||
endif()
|
endif()
|
||||||
#FetchContent_MakeAvailable(imgui)
|
#FetchContent_MakeAvailable(imgui)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user