update imgui to v1.90.7
correct plugin target type
This commit is contained in:
parent
bbb419ed42
commit
dc7d4a2e93
4
external/CMakeLists.txt
vendored
4
external/CMakeLists.txt
vendored
@ -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
|
||||
)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user