better plugin export visibility

This commit is contained in:
Green Sky 2024-05-19 11:33:40 +02:00
parent 884033fe5c
commit 27b4374662
No known key found for this signature in database

View File

@ -4,6 +4,10 @@ add_library(plugin_doom_imgui SHARED
./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
solanaceae_plugin