summaryrefslogtreecommitdiffstats
path: root/Modules/FeatureSummary.cmake
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-12-14 00:40:23 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-12-14 00:51:01 (GMT)
commit88b40744b5d750f9a8641f97b08855dee03b848b (patch)
tree2aadd13595e2df50e09b19b5760e80c3f8cdc0e4 /Modules/FeatureSummary.cmake
parent65b54a01ad3ee83023707a5bd4bc119a4ff5b7b1 (diff)
downloadCMake-88b40744b5d750f9a8641f97b08855dee03b848b.zip
CMake-88b40744b5d750f9a8641f97b08855dee03b848b.tar.gz
CMake-88b40744b5d750f9a8641f97b08855dee03b848b.tar.bz2
CMakeParseArguments: Remove superfluous includes of CMakeParseArguments
Because cmake_parse_arguments() has been implemented as a native command, there is no need to include(CMakeParseArguments) anymore. Its inclusion has been removed from several CMake modules. Tests/CMakeOnly/CMakeLists.txt has been changed to include the *building* CMake's copy of CMakeParseArguments rather than the *built* CMake's copy. This file included the *built* copy because when this file was introduced, CMake could still be built with versions that didn't supply cmake_parse_arguments(). Now, CMake requires 3.1 or greater, where cmake_parse_arguments() existed but was still in the form of a module, so we include it from the *building* CMake.
Diffstat (limited to 'Modules/FeatureSummary.cmake')
-rw-r--r--Modules/FeatureSummary.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/FeatureSummary.cmake b/Modules/FeatureSummary.cmake
index fbce235..4a3e83a 100644
--- a/Modules/FeatureSummary.cmake
+++ b/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)