summaryrefslogtreecommitdiffstats
path: root/Modules/UseJava.cmake
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-12-20 15:14:16 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-01-11 12:14:57 (GMT)
commitd6877e6c405eb67f0e3e9eae783de02d1d8be659 (patch)
tree6543472aba205ed8ef96e298443fc50e9ee56a9a /Modules/UseJava.cmake
parent3e5fbbd6cdc472cdf7823cf81c0e527c79653188 (diff)
downloadCMake-d6877e6c405eb67f0e3e9eae783de02d1d8be659.zip
CMake-d6877e6c405eb67f0e3e9eae783de02d1d8be659.tar.gz
CMake-d6877e6c405eb67f0e3e9eae783de02d1d8be659.tar.bz2
Don't include CMakeParseArguments
The cmake_parse_arguments command is builtin with version 3.5. The CMakeParseArguments module is empty and exists for backwards compatibility with CMake 3.4 and lower. Remove the includes of CMakeParseArguments from CMake's modules. The modules are always used with the current version of CMake. Leave the includes in the tests, as the tests may be run with an older version of CMake.
Diffstat (limited to 'Modules/UseJava.cmake')
-rw-r--r--Modules/UseJava.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/UseJava.cmake b/Modules/UseJava.cmake
index 6b34c8f..93255ae 100644
--- a/Modules/UseJava.cmake
+++ b/Modules/UseJava.cmake
@@ -403,8 +403,6 @@
# Sets the directory where the header files will be generated. Same behavior as option
# '-d' of javah tool. If not specified, ${CMAKE_CURRENT_BINARY_DIR} is used as output directory.
-include(${CMAKE_CURRENT_LIST_DIR}/CMakeParseArguments.cmake)
-
function (__java_copy_file src dest comment)
add_custom_command(
OUTPUT ${dest}