mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user