summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)