diff options
author | Brad King <brad.king@kitware.com> | 2016-04-06 16:14:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-06 17:46:51 (GMT) |
commit | fa382ae85ed11cda00fa3163d5547a3ea434883e (patch) | |
tree | 36866f5a313fa619a04e0684c6d61e1fe91408f7 /Modules/UseJava.cmake | |
parent | ae2fa89f74a8be6af39431b73aea88792ac1ef44 (diff) | |
download | CMake-fa382ae85ed11cda00fa3163d5547a3ea434883e.zip CMake-fa382ae85ed11cda00fa3163d5547a3ea434883e.tar.gz CMake-fa382ae85ed11cda00fa3163d5547a3ea434883e.tar.bz2 |
UseJava: use CMAKE_COMMAND instead of direct cmake call
Author: dancing-leaves <dancing-leaves@users.noreply.github.com>
Diffstat (limited to 'Modules/UseJava.cmake')
-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} |