diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-10-25 18:35:04 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-10-26 07:02:44 (GMT) |
commit | e81c323da9c020c91c967184ecf98f806eb95867 (patch) | |
tree | 917569084dfc383da40635de6f04320d398c1f06 /Source/cmFindPackageCommand.cxx | |
parent | 2a567c68ce6605071f3e21638560493b71ed2841 (diff) | |
download | CMake-e81c323da9c020c91c967184ecf98f806eb95867.zip CMake-e81c323da9c020c91c967184ecf98f806eb95867.tar.gz CMake-e81c323da9c020c91c967184ecf98f806eb95867.tar.bz2 |
Include necessary headers in commands
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r-- | Source/cmFindPackageCommand.cxx | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index 373b728..60de74f 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/Source/cmFindPackageCommand.cxx @@ -2,26 +2,38 @@ file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmFindPackageCommand.h" -#include "cmAlgorithms.h" -#include "cmState.h" -#include "cmVersion.h" - +#include <algorithm> +#include <assert.h> #include <cmSystemTools.h> #include <cmsys/Directory.hxx> -#include <cmsys/Encoding.hxx> #include <cmsys/FStream.hxx> +#include <cmsys/Glob.hxx> #include <cmsys/RegularExpression.hxx> +#include <cmsys/String.h> +#include <functional> +#include <iterator> +#include <sstream> +#include <stdio.h> +#include <string.h> +#include <utility> -#ifdef CMAKE_BUILD_WITH_CMAKE -#include "cmVariableWatch.h" -#endif +#include "cmAlgorithms.h" +#include "cmMakefile.h" +#include "cmSearchPath.h" +#include "cmState.h" +#include "cmStateTypes.h" +#include "cmVersion.h" +#include "cm_auto_ptr.hxx" +#include "cmake.h" #if defined(__HAIKU__) #include <FindDirectory.h> #include <StorageDefs.h> -#include <string.h> #endif +class cmExecutionStatus; +class cmFileList; + cmFindPackageCommand::PathLabel cmFindPackageCommand::PathLabel::UserRegistry( "PACKAGE_REGISTRY"); cmFindPackageCommand::PathLabel cmFindPackageCommand::PathLabel::Builds( @@ -1549,11 +1561,6 @@ void cmFindPackageCommand::StoreVersionFound() this->Makefile->AddDefinition(ver + "_COUNT", buf); } -#include <cm_auto_ptr.hxx> -#include <cmsys/Glob.hxx> -#include <cmsys/String.h> - -class cmFileList; class cmFileListGeneratorBase { public: |