summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPackageCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-06-09 19:08:59 (GMT)
committerBrad King <brad.king@kitware.com>2008-06-09 19:08:59 (GMT)
commit5b406c9044772ab56632edf6824759210c28f1c4 (patch)
treec66a888964f44ebf08b4ca9f55fafda44484e5b9 /Source/cmFindPackageCommand.h
parent2cadc9138fc405fe49fb3f8cb4153b9c20c95df6 (diff)
downloadCMake-5b406c9044772ab56632edf6824759210c28f1c4.zip
CMake-5b406c9044772ab56632edf6824759210c28f1c4.tar.gz
CMake-5b406c9044772ab56632edf6824759210c28f1c4.tar.bz2
ENH: Add HINTS option to find_* commands.
- Hints are searched after user locations but before system locations - The HINTS option should have paths provided by system introspection - The PATHS option should have paths that are hard-coded guesses
Diffstat (limited to 'Source/cmFindPackageCommand.h')
-rw-r--r--Source/cmFindPackageCommand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h
index 142ddda..9f3a59f 100644
--- a/Source/cmFindPackageCommand.h
+++ b/Source/cmFindPackageCommand.h
@@ -88,7 +88,8 @@ private:
void AddPrefixesSystemEnvironment();
void AddPrefixesBuilds();
void AddPrefixesCMakeSystemVariable();
- void AddPrefixesUser();
+ void AddPrefixesUserGuess();
+ void AddPrefixesUserHints();
void ComputeFinalPrefixes();
bool SearchDirectory(std::string const& dir);
bool CheckDirectory(std::string const& dir);