Commit fa382ae8 authored by Brad King's avatar Brad King

UseJava: use CMAKE_COMMAND instead of direct cmake call

Author: dancing-leaves <>
parent ae2fa89f
......@@ -389,7 +389,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/CMakeParseArguments.cmake)
function (__java_copy_file src dest comment)
OUTPUT ${dest}
COMMAND cmake -E copy_if_different
COMMAND ${CMAKE_COMMAND} -E copy_if_different
ARGS ${src}
DEPENDS ${src}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment