correct plugin target type
This commit is contained in:
parent
58bbdc4a41
commit
30a22fd933
@ -2,13 +2,12 @@ cmake_minimum_required(VERSION 3.9...3.24 FATAL_ERROR)
|
|||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
|
||||||
add_library(plugin_tox_upnp SHARED
|
add_library(plugin_tox_upnp MODULE
|
||||||
./plugin_tox_upnp.cpp
|
./plugin_tox_upnp.cpp
|
||||||
)
|
)
|
||||||
target_compile_features(plugin_tox_upnp PUBLIC cxx_std_17)
|
target_compile_features(plugin_tox_upnp PUBLIC cxx_std_17)
|
||||||
set_target_properties(plugin_tox_upnp PROPERTIES
|
set_target_properties(plugin_tox_upnp PROPERTIES
|
||||||
C_VISIBILITY_PRESET hidden
|
C_VISIBILITY_PRESET hidden
|
||||||
POSITION_INDEPENDENT_CODE ON
|
|
||||||
)
|
)
|
||||||
target_link_libraries(plugin_tox_upnp PUBLIC
|
target_link_libraries(plugin_tox_upnp PUBLIC
|
||||||
solanaceae_tox_upnp
|
solanaceae_tox_upnp
|
||||||
|
Loading…
Reference in New Issue
Block a user