summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeBuildTest.cmake.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-10-15 20:56:01 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-10-15 20:56:01 (GMT)
commit96262d167be0e3ed311c17c7d9bd6956a96a85bd (patch)
treed30fa754924c47e731fa2856c52df5b20ed78ba4 /Tests/CMakeBuildTest.cmake.in
parent6a312b9746f2239f2033636eac2b1c9f9ae4330f (diff)
downloadCMake-96262d167be0e3ed311c17c7d9bd6956a96a85bd.zip
CMake-96262d167be0e3ed311c17c7d9bd6956a96a85bd.tar.gz
CMake-96262d167be0e3ed311c17c7d9bd6956a96a85bd.tar.bz2
ENH: run the right cmake
Diffstat (limited to 'Tests/CMakeBuildTest.cmake.in')
-rw-r--r--Tests/CMakeBuildTest.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeBuildTest.cmake.in b/Tests/CMakeBuildTest.cmake.in
index 246757f..b8c7791 100644
--- a/Tests/CMakeBuildTest.cmake.in
+++ b/Tests/CMakeBuildTest.cmake.in
@@ -38,7 +38,7 @@ if(RESULT)
endif(RESULT)
# build it again with clean and only COnly target
-execute_process(COMMAND "@CMAKE_CMAKE_COMMAND@"
+execute_process(COMMAND "${CMAKE_COMMAND}"
--build "@CMAKE_BUILD_TEST_BINARY_DIR@" --config Debug
--clean --target COnly
RESULT_VARIABLE RESULT)