solanaceae_tox_upnp/plugins/CMakeLists.txt

18 lines
414 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.9...3.24 FATAL_ERROR)
########################################
add_library(plugin_tox_upnp SHARED
./plugin_tox_upnp.cpp
)
target_compile_features(plugin_tox_upnp PUBLIC cxx_std_17)
2024-05-19 11:43:01 +02:00
set_target_properties(plugin_tox_upnp PROPERTIES
C_VISIBILITY_PRESET hidden
POSITION_INDEPENDENT_CODE ON
)
target_link_libraries(plugin_tox_upnp PUBLIC
solanaceae_tox_upnp
solanaceae_plugin
)