diff options
author | Brad King <brad.king@kitware.com> | 2016-04-07 12:57:35 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-04-07 12:57:35 (GMT) |
commit | cdce3cc902fee88250bc7e04e2ff7424fb2962e6 (patch) | |
tree | 43498f2f6edbd8da9068dcdd8153ca18cc277a8e /Modules | |
parent | 47e358dcdbbc802e751460fed9dd572037b71629 (diff) | |
parent | fa382ae85ed11cda00fa3163d5547a3ea434883e (diff) | |
download | CMake-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.cmake | 2 |
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} |