diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-01-08 22:57:52 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-01-08 22:57:52 (GMT) |
commit | ef3e48c3d566a8d0d547a2a65bf18281a0aef664 (patch) | |
tree | 8ed49d007f0ffaab2d508ced35b9b997d6a21b0d /Source/cmFindPackageCommand.h | |
parent | 206c09c4f66fff69ea35f3434834c98a9e4a8fa9 (diff) | |
download | CMake-ef3e48c3d566a8d0d547a2a65bf18281a0aef664.zip CMake-ef3e48c3d566a8d0d547a2a65bf18281a0aef664.tar.gz CMake-ef3e48c3d566a8d0d547a2a65bf18281a0aef664.tar.bz2 |
ENH: when trying to find a FooConfig.cmake file, if in the directory pointed
to by the Foo_DIR variable there is no FooConfig.cmake file, then instead of
abort and complain that the user should set or clear the Foo_DIR variables,
just search for the file and discard the old Foo_DIR contents
The tests succeed, ok by Brad.
Alex
Diffstat (limited to 'Source/cmFindPackageCommand.h')
-rw-r--r-- | Source/cmFindPackageCommand.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h index 1bfb2af..3fc8f65 100644 --- a/Source/cmFindPackageCommand.h +++ b/Source/cmFindPackageCommand.h @@ -97,7 +97,6 @@ private: bool SearchDirectory(std::string const& dir); bool CheckDirectory(std::string const& dir); bool FindConfigFile(std::string const& dir, std::string& file); - bool FindConfigFileToLoad(std::string const& dir, std::string& file); bool CheckVersion(std::string const& config_file); bool CheckVersionFile(std::string const& version_file); bool SearchPrefix(std::string const& prefix); |