summaryrefslogtreecommitdiffstats
path: root/Modules/UseSWIG.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/UseSWIG.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/UseSWIG.cmake')
-rw-r--r--Modules/UseSWIG.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake
index 651f9f1..e7512e7 100644
--- a/Modules/UseSWIG.cmake
+++ b/Modules/UseSWIG.cmake
@@ -231,8 +231,6 @@ endmacro()
macro(SWIG_ADD_LIBRARY name)
-
- include(CMakeParseArguments)
set(options "")
set(oneValueArgs LANGUAGE
TYPE)
@@ -340,4 +338,3 @@ macro(SWIG_LINK_LIBRARIES name)
message(SEND_ERROR "Cannot find Swig library \"${name}\".")
endif()
endmacro()
-