summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-12-08 05:48:52 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-12-08 05:48:52 +0100
commit8b7357b77fe2b3eddc59cc159da1ed26f92a1d2b (patch)
tree3250daa9addc38c8853f811a0f0a49fdc884714d /CMakeLists.txt
parentd9d6a2e8e5276775acad7da4855f69e1fdc95d24 (diff)
cmake: use CMAKE_COMMAND var
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-xCMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bde3fead..e3d12828 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,7 +46,7 @@ if(WIN32)
enable_language(RC)
endif()
-add_custom_target(mrproper COMMAND cmake -P "${CMAKE_SOURCE_DIR}/cmake/opentrack-clean-build-directory.cmake" WORKING_DIRECTORY "${CMAKE_BINARY_DIR}")
+add_custom_target(mrproper COMMAND ${CMAKE_COMMAND} -P "${CMAKE_SOURCE_DIR}/cmake/opentrack-clean-build-directory.cmake" WORKING_DIRECTORY "${CMAKE_BINARY_DIR}")
set(C CMakeLists.txt)
file(GLOB opentrack-subprojects