From 8b7357b77fe2b3eddc59cc159da1ed26f92a1d2b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 8 Dec 2016 05:48:52 +0100 Subject: cmake: use CMAKE_COMMAND var --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3