From d2e643429b04bbad7751482ff288755153061e6b Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Fri, 6 Jun 2014 13:57:02 -0600 Subject: [PATCH] Changed invocation of cmake from absolute to relative. --- ncdump/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ncdump/CMakeLists.txt b/ncdump/CMakeLists.txt index 082230559..07c1d77fc 100644 --- a/ncdump/CMakeLists.txt +++ b/ncdump/CMakeLists.txt @@ -12,12 +12,12 @@ ENDIF() #IF(EXTRA_TESTS) ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/ctest.c - COMMAND cmake -E copy "${CMAKE_CURRENT_SOURCE_DIR}/ref_ctest.c" + COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/ref_ctest.c" "${CMAKE_CURRENT_SOURCE_DIR}/ctest.c" ) ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/ctest64.c - COMMAND cmake -E copy "${CMAKE_CURRENT_SOURCE_DIR}/ref_ctest64.c" + COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/ref_ctest64.c" "${CMAKE_CURRENT_SOURCE_DIR}/ctest64.c" ) #ENDIF()