update imgui to v1.90.7

correct plugin target type
This commit is contained in:
Green Sky 2024-05-28 17:34:56 +02:00
parent bbb419ed42
commit dc7d4a2e93
No known key found for this signature in database
2 changed files with 2 additions and 5 deletions

View File

@ -18,9 +18,7 @@ endif()
if (NOT TARGET imgui)
FetchContent_Declare(imgui
GIT_REPOSITORY https://github.com/ocornut/imgui.git
#GIT_TAG d6cb3c9 # v1.90.1
#GIT_TAG b475309fa1e # tomato at ~v0.2
GIT_TAG 6ccc561 # v1.90.6
GIT_TAG 00ad3c6 # v1.90.7
EXCLUDE_FROM_ALL
)

View File

@ -1,12 +1,11 @@
cmake_minimum_required(VERSION 3.9...3.24 FATAL_ERROR)
add_library(plugin_doom_imgui SHARED
add_library(plugin_doom_imgui MODULE
./plugin_doom_imgui.cpp
)
target_compile_features(plugin_doom_imgui PUBLIC cxx_std_17)
set_target_properties(plugin_doom_imgui PROPERTIES
C_VISIBILITY_PRESET hidden
POSITION_INDEPENDENT_CODE ON
)
target_link_libraries(plugin_doom_imgui PUBLIC
solDOOM_imgui