Browse Source

Merge topic 'remove-include-cmakeparsearguments'

88b40744b5 CMakeParseArguments: Remove superfluous includes of CMakeParseArguments

Acked-by: Kitware Robot <[email protected]>
Acked-by: Ben Boeckel <[email protected]>
Merge-request: !2744
Craig Scott 6 years ago
parent
commit
c79b98af37

+ 0 - 2
Modules/CheckIPOSupported.cmake

@@ -51,8 +51,6 @@ Examples
 
 #]=======================================================================]
 
-include(CMakeParseArguments) # cmake_parse_arguments
-
 # X_RESULT - name of the final result variable
 # X_OUTPUT - name of the variable with information about error
 macro(_ipo_not_supported output)

+ 0 - 2
Modules/FeatureSummary.cmake

@@ -97,8 +97,6 @@ Functions
 
 #]=======================================================================]
 
-include(CMakeParseArguments)
-
 function(_FS_GET_FEATURE_SUMMARY _property _var _includeQuiet)
 
   get_property(_fsPkgTypes GLOBAL PROPERTY FeatureSummary_PKG_TYPES)

+ 0 - 2
Modules/FindProtobuf.cmake

@@ -121,8 +121,6 @@ Example:
 #]=======================================================================]
 
 function(protobuf_generate)
-  include(CMakeParseArguments)
-
   set(_options APPEND_PATH DESCRIPTORS)
   set(_singleargs LANGUAGE OUT_VAR EXPORT_MACRO PROTOC_OUT_DIR)
   if(COMMAND target_sources)

+ 1 - 1
Tests/CMakeOnly/CMakeLists.txt

@@ -56,7 +56,7 @@ add_test(CMakeOnly.ProjectInclude ${CMAKE_CMAKE_COMMAND}
   -P ${CMAKE_CURRENT_BINARY_DIR}/Test.cmake
   )
 
-include(${CMAKE_SOURCE_DIR}/Modules/CMakeParseArguments.cmake)
+include(CMakeParseArguments)
 
 function(add_major_test module)
   cmake_parse_arguments(MAJOR_TEST "NOLANG" "VERSION_VAR" "VERSIONS" ${ARGN})