summaryrefslogtreecommitdiffstats
path: root/Source/cmFindBase.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-08 17:08:01 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-10 13:27:19 (GMT)
commit8c0afd2c75af14bbd2355a6f3df729ebeaf6fc25 (patch)
tree033ffde8073365704357e191e0b75cea223c8886 /Source/cmFindBase.cxx
parent2610c1a73321df6c18f0082aa527dbcad951cdbc (diff)
parent578d95f87d2c77498d1bbdd46bf5c1ad8095c31d (diff)
downloadCMake-8c0afd2c75af14bbd2355a6f3df729ebeaf6fc25.zip
CMake-8c0afd2c75af14bbd2355a6f3df729ebeaf6fc25.tar.gz
CMake-8c0afd2c75af14bbd2355a6f3df729ebeaf6fc25.tar.bz2
Merge branch 'find-package_root-disable' into release-3.9
Merge-request: !1116
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r--Source/cmFindBase.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx
index e378208..10c6fe4 100644
--- a/Source/cmFindBase.cxx
+++ b/Source/cmFindBase.cxx
@@ -68,6 +68,8 @@ bool cmFindBase::ParseArguments(std::vector<std::string> const& argsIn)
}
this->AlreadyInCache = false;
+ this->SelectDefaultNoPackageRootPath();
+
// Find the current root path mode.
this->SelectDefaultRootPathMode();