summaryrefslogtreecommitdiffstats
path: root/Source/cmFindBase.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-14 18:49:37 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-15 12:52:38 (GMT)
commit401229759c2a738b085b3337babdded645415664 (patch)
tree0f165125646dba2f97daf4bb230b14d1d5782baf /Source/cmFindBase.cxx
parent0e7f34c0a9a6ad8dbcdad32910d87b8d8671cd51 (diff)
parent02440154fb457e481d44aa0a2c2134e1a66e0f4b (diff)
downloadCMake-401229759c2a738b085b3337babdded645415664.zip
CMake-401229759c2a738b085b3337babdded645415664.tar.gz
CMake-401229759c2a738b085b3337babdded645415664.tar.bz2
Merge branch 'fix-bad-search-ordering' into test-search-ordering
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r--Source/cmFindBase.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx
index 7959ffe..fa9b381 100644
--- a/Source/cmFindBase.cxx
+++ b/Source/cmFindBase.cxx
@@ -207,6 +207,10 @@ void cmFindBase::ExpandPaths()
{
this->FillCMakeEnvironmentPath();
}
+ }
+ this->FillUserHintsPath();
+ if(!this->NoDefaultPath)
+ {
if(!this->NoSystemEnvironmentPath)
{
this->FillSystemEnvironmentPath();
@@ -216,8 +220,6 @@ void cmFindBase::ExpandPaths()
this->FillCMakeSystemVariablePath();
}
}
-
- this->FillUserHintsPath();
this->FillUserGuessPath();
}