diff --git a/CMakeLists.txt b/CMakeLists.txt index 175836443..94c1865fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1030,5 +1030,6 @@ qt_finalize_executable(${PROJECT_NAME}) # tests if(BUILD_TESTING) message("Add Jami tests") + enable_testing() add_subdirectory(${TESTS_DIR}) endif() diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 4f98622fa..b4754a4ce 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.16) -enable_testing(true) +enable_testing() set(QT_TESTING_MODULES ${QT_MODULES}