diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-06-14 21:42:44 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-06-14 21:42:44 +0200 |
commit | 3d0740f80e8d2d1bd0f83c914b53d074d73e7c97 (patch) | |
tree | 4b0f3bf9e986fb551890cc55479f3ff7decba3c0 | |
parent | 3fbbaddeceadd1d154f2aa5450974b228512fe60 (diff) | |
download | PrismLauncher-3d0740f80e8d2d1bd0f83c914b53d074d73e7c97.tar.gz PrismLauncher-3d0740f80e8d2d1bd0f83c914b53d074d73e7c97.tar.bz2 PrismLauncher-3d0740f80e8d2d1bd0f83c914b53d074d73e7c97.zip |
fix(cmake): allow disabling tests
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 96abe22e..5c5144f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -65,10 +65,9 @@ option(BUILD_TESTING "Build the testing tree." ON) find_package(ECM REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH "${ECM_MODULE_PATH};${CMAKE_MODULE_PATH}") +include(CTest) +include(ECMAddTests) if (BUILD_TESTING) - include(CTest) - include(ECMAddTests) - enable_testing() endif() |