aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPhilipp David <pd@3b.pm>2022-03-23 19:48:03 +0100
committerPhilipp David <pd@3b.pm>2022-03-23 19:48:03 +0100
commita89cbf116d37724f2bb87fe2d52afffd0775d4eb (patch)
treeabaac518ce7be397894b8905eb611b2633abfa2c /CMakeLists.txt
parentc7fdfb811669a863606dc0a26186c0ab827db9c6 (diff)
downloadPrismLauncher-a89cbf116d37724f2bb87fe2d52afffd0775d4eb.tar.gz
PrismLauncher-a89cbf116d37724f2bb87fe2d52afffd0775d4eb.tar.bz2
PrismLauncher-a89cbf116d37724f2bb87fe2d52afffd0775d4eb.zip
Allow disabling building of tests
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7537703c..254fce33 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ if(WIN32)
endif()
project(Launcher)
-enable_testing()
+include(CTest)
string(COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BUILD_DIR}" IS_IN_SOURCE_BUILD)
if(IS_IN_SOURCE_BUILD)