diff --git a/CMakeLists.txt b/CMakeLists.txt index f5e65ff3..66350c45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,6 +28,7 @@ set(Libmultiprocess_EXTERNAL_MPGEN "" CACHE FILEPATH "If specified, should be fu include("cmake/compat_config.cmake") include("cmake/pthread_checks.cmake") +include(CTest) include(GNUInstallDirs) # Set convenience variables for subdirectories. diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 129cb563..997a0289 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -2,8 +2,6 @@ # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -include(CTest) - # Custom test targets for convenience, based on # https://gitlab.kitware.com/cmake/community/-/wikis/doc/tutorials/EmulateMakeCheck. #