/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmFindPackageCommand.h" #include #include #include #include #include #include #include #include #include #include #include "cmsys/Directory.hxx" #include "cmsys/FStream.hxx" #include "cmsys/Glob.hxx" #include "cmsys/RegularExpression.hxx" #include "cmsys/String.h" #include "cmAlgorithms.h" #include "cmDependencyProvider.h" #include "cmList.h" #include "cmListFileCache.h" #include "cmMakefile.h" #include "cmMessageType.h" #include "cmPolicies.h" #include "cmRange.h" #include "cmSearchPath.h" #include "cmState.h" #include "cmStateTypes.h" #include "cmStringAlgorithms.h" #include "cmSystemTools.h" #include "cmValue.h" #include "cmVersion.h" #include "cmWindowsRegistry.h" #if defined(__HAIKU__) # include # include #endif #if defined(_WIN32) && !defined(__CYGWIN__) # include // http://msdn.microsoft.com/en-us/library/aa384253%28v=vs.85%29.aspx # if !defined(KEY_WOW64_32KEY) # define KEY_WOW64_32KEY 0x0200 # endif # if !defined(KEY_WOW64_64KEY) # define KEY_WOW64_64KEY 0x0100 # endif #endif class cmExecutionStatus; namespace { template