solanaceae_tox_upnp/src/CMakeLists.txt
2024-03-10 20:34:30 +01:00

19 lines
433 B
CMake

cmake_minimum_required(VERSION 3.9...3.24 FATAL_ERROR)
project(solanaceae)
#########################################
add_library(solanaceae_tox_upnp
./solanaceae/tox_upnp.hpp
./solanaceae/tox_upnp.cpp
)
target_include_directories(solanaceae_tox_upnp PUBLIC .)
target_compile_features(solanaceae_tox_upnp PUBLIC cxx_std_17)
target_link_libraries(solanaceae_tox_upnp PUBLIC
miniupnpc::miniupnpc
solanaceae_toxcore_interface
)