summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-07 12:57:35 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-04-07 12:57:35 (GMT)
commitcdce3cc902fee88250bc7e04e2ff7424fb2962e6 (patch)
tree43498f2f6edbd8da9068dcdd8153ca18cc277a8e /Modules
parent47e358dcdbbc802e751460fed9dd572037b71629 (diff)
parentfa382ae85ed11cda00fa3163d5547a3ea434883e (diff)
downloadCMake-cdce3cc902fee88250bc7e04e2ff7424fb2962e6.zip
CMake-cdce3cc902fee88250bc7e04e2ff7424fb2962e6.tar.gz
CMake-cdce3cc902fee88250bc7e04e2ff7424fb2962e6.tar.bz2
Merge topic 'UseJava-cmake-command'
fa382ae8 UseJava: use CMAKE_COMMAND instead of direct cmake call
Diffstat (limited to 'Modules')
-rw-r--r--Modules/UseJava.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/UseJava.cmake b/Modules/UseJava.cmake
index 3850890..b59fe34 100644
--- a/Modules/UseJava.cmake
+++ b/Modules/UseJava.cmake
@@ -389,7 +389,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/CMakeParseArguments.cmake)
function (__java_copy_file src dest comment)
add_custom_command(
OUTPUT ${dest}
- COMMAND cmake -E copy_if_different
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different
ARGS ${src}
${dest}
DEPENDS ${src}