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)
|
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 d6cb3c9 # v1.90.1
|
GIT_TAG 00ad3c6 # v1.90.7
|
||||||
#GIT_TAG b475309fa1e # tomato at ~v0.2
|
|
||||||
GIT_TAG 6ccc561 # v1.90.6
|
|
||||||
EXCLUDE_FROM_ALL
|
EXCLUDE_FROM_ALL
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
cmake_minimum_required(VERSION 3.9...3.24 FATAL_ERROR)
|
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
|
./plugin_doom_imgui.cpp
|
||||||
)
|
)
|
||||||
target_compile_features(plugin_doom_imgui PUBLIC cxx_std_17)
|
target_compile_features(plugin_doom_imgui PUBLIC cxx_std_17)
|
||||||
set_target_properties(plugin_doom_imgui PROPERTIES
|
set_target_properties(plugin_doom_imgui PROPERTIES
|
||||||
C_VISIBILITY_PRESET hidden
|
C_VISIBILITY_PRESET hidden
|
||||||
POSITION_INDEPENDENT_CODE ON
|
|
||||||
)
|
)
|
||||||
target_link_libraries(plugin_doom_imgui PUBLIC
|
target_link_libraries(plugin_doom_imgui PUBLIC
|
||||||
solDOOM_imgui
|
solDOOM_imgui
|
||||||
|
Loading…
Reference in New Issue
Block a user