summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-09-22 13:53:46 -0400
committerCMake Topic Stage <kwrobot@kitware.com>2010-09-22 13:53:46 -0400
commit8150dc4d2bc6f273ce3aa06e0f0b24a663c3a60f (patch)
treedf1816b1e094e4258448bb6186d3d46af8302fa4 /Modules
parentdda5bbd7c9de31ea5da8463a3ae3a73830e0d7c5 (diff)
parent4a323bde0cc23a425ee6589c13bee3b9644942c4 (diff)
downloadcmake-8150dc4d2bc6f273ce3aa06e0f0b24a663c3a60f.tar.gz
Merge topic 'fix-11026'
4a323bd Honor MAKECOMMAND value saved in cache (#11026)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CTest.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/CTest.cmake b/Modules/CTest.cmake
index e3157fac2f..bb76ddd25a 100644
--- a/Modules/CTest.cmake
+++ b/Modules/CTest.cmake
@@ -228,8 +228,10 @@ IF(BUILD_TESTING)
ENDIF(NOT BUILDNAME)
# the build command
- BUILD_COMMAND(MAKECOMMAND CONFIGURATION "\${CTEST_CONFIGURATION_TYPE}")
- SET(MAKECOMMAND ${MAKECOMMAND} CACHE STRING "Command to build the project")
+ BUILD_COMMAND(MAKECOMMAND_DEFAULT_VALUE
+ CONFIGURATION "\${CTEST_CONFIGURATION_TYPE}")
+ SET(MAKECOMMAND ${MAKECOMMAND_DEFAULT_VALUE}
+ CACHE STRING "Command to build the project")
# the default build configuration the ctest build handler will use
# if there is no -C arg given to ctest: