project(test_kuu CXX) add_executable(${PROJECT_NAME} test_upnp.cpp ) set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_EXTENSIONS OFF) set_property(TARGET ${PROJECT_NAME} PROPERTY CXX_STANDARD 14) add_test( NAME kuu WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${PROJECT_NAME} ) target_link_libraries(${PROJECT_NAME} PRIVATE keepupnpup_implem PRIVATE gtest PRIVATE gtest_main PRIVATE rapidcheck_gtest ) target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/src )