summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-18 12:43:00 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-10-18 12:43:00 (GMT)
commit99177a2029fd30d37d49ad2026fb5438f1d07c8f (patch)
tree7bd22afd268d8b621dcb24f34651439299db9adb /Modules
parentcff5112385342fde6dd4fc643265789c3616e414 (diff)
parent19beee46cc6e9b7a05694b29420ad49487648501 (diff)
downloadCMake-99177a2029fd30d37d49ad2026fb5438f1d07c8f.zip
CMake-99177a2029fd30d37d49ad2026fb5438f1d07c8f.tar.gz
CMake-99177a2029fd30d37d49ad2026fb5438f1d07c8f.tar.bz2
Merge topic 'propagate_ctest_use_launchers'
19beee46 ctest_configure: Propagate CTEST_USE_LAUNCHERS from caller to project
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CTestUseLaunchers.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/CTestUseLaunchers.cmake b/Modules/CTestUseLaunchers.cmake
index 1cf20eb..dc90513 100644
--- a/Modules/CTestUseLaunchers.cmake
+++ b/Modules/CTestUseLaunchers.cmake
@@ -24,7 +24,9 @@
# include(CTestUseLaunchers), it will use the value of the ENV variable
# to initialize a CTEST_USE_LAUNCHERS cache variable. This cache
# variable initialization only occurs if CTEST_USE_LAUNCHERS is not
-# already defined.
+# already defined. If CTEST_USE_LAUNCHERS is on in a ctest -S script
+# the ctest_configure command will add -DCTEST_USE_LAUNCHERS:BOOL=TRUE
+# to the cmake command used to configure the project.
if(NOT DEFINED CTEST_USE_LAUNCHERS AND DEFINED ENV{CTEST_USE_LAUNCHERS_DEFAULT})
set(CTEST_USE_LAUNCHERS "$ENV{CTEST_USE_LAUNCHERS_DEFAULT}"