summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--lib/CMakeLists.txt4
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"