diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2019-07-22 19:44:37 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2019-07-22 21:17:02 (GMT) |
commit | 609fe39043f37366b50ee5ac0ae283b93af23492 (patch) | |
tree | 2c976feb6faa126bf03f279748b2e6fd690df9eb /Source/cmFindPackageCommand.cxx | |
parent | ff29c92df63ec9a9311b56537db285920c8faa30 (diff) | |
download | CMake-609fe39043f37366b50ee5ac0ae283b93af23492.zip CMake-609fe39043f37366b50ee5ac0ae283b93af23492.tar.gz CMake-609fe39043f37366b50ee5ac0ae283b93af23492.tar.bz2 |
FindPackage: Support `NO_[]_PATH` global call options
Diffstat (limited to 'Source/cmFindPackageCommand.cxx')
-rw-r--r-- | Source/cmFindPackageCommand.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index c6d599e..e4551dd 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/Source/cmFindPackageCommand.cxx @@ -225,6 +225,9 @@ bool cmFindPackageCommand::InitialPass(std::vector<std::string> const& args, this->SortDirection = strcmp(sd, "ASC") == 0 ? Asc : Dec; } + // Find what search path locations have been enabled/disable + this->SelectDefaultSearchModes(); + // Find the current root path mode. this->SelectDefaultRootPathMode(); |