diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a33091..614d6fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,6 +19,10 @@ include(GNUInstallDirs) include(CheckCSourceCompiles) include(CheckCCompilerFlag) +# ############################################################################## +# setup test target +enable_testing() + # ############################################################################## # Compiler Sanity Test set(CMAKE_C_STANDARD 23) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 94c7dd3..bce96eb 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -2,7 +2,6 @@ # Project / modules include(CTest) -enable_testing() # ############################################################################## # Coverage configuration (compiler aware, optional)