From 9e1280599c322df6e5f3e8bac2a56915bf8531f2 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 16 May 2025 18:47:55 +0200 Subject: lib: fix test enablement --- CMakeLists.txt | 2 ++ lib/CMakeLists.txt | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a82c7fe..62e103d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,8 @@ project("turns" list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake/Modules") +enable_testing() + # Global Modules include("CheckIPOSupported") diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index c4b1a0f..c6d0e42 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -170,8 +170,6 @@ install(TARGETS "libmm" FILE_SET HEADERS DESTINATION "${CMAKE_INSTALL_INCLUDEDIR # Tests -enable_testing() - add_executable("lib-tests" "tests/runtime_init.cpp" "tests/turns-participant.cpp" @@ -195,8 +193,6 @@ catch_discover_tests("lib-tests") # C++ Wrapper Tests -enable_testing() - add_executable("libmm-tests" "tests/turnsmm/runtime_init.cpp" "tests/turnsmm/participant.cpp" -- cgit v1.2.3