summaryrefslogtreecommitdiff
path: root/Source/cmFindBase.cxx
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2019-06-12 16:04:22 -0400
committerBrad King <brad.king@kitware.com>2019-06-21 11:06:39 -0400
commit02f527c66a6f9f0fa0d3fd4a816ea2bd9e3ba35f (patch)
tree91222ea7bb0386155dd7a4f673bf1164918ed5ea /Source/cmFindBase.cxx
parentf0a89149bc569020e281c5908733bf4b7eeddf15 (diff)
downloadcmake-02f527c66a6f9f0fa0d3fd4a816ea2bd9e3ba35f.tar.gz
Find: Provide global controls for the `NO_[]_PATH` call options
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r--Source/cmFindBase.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx
index e5908028f8..be7964acbd 100644
--- a/Source/cmFindBase.cxx
+++ b/Source/cmFindBase.cxx
@@ -67,6 +67,9 @@ bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn)
}
this->AlreadyInCache = false;
+ // Find what search path locations have been enabled/disable
+ this->SelectDefaultSearchModes();
+
// Find the current root path mode.
this->SelectDefaultRootPathMode();