diff options
author | Brad King <brad.king@kitware.com> | 2015-09-14 18:49:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-15 12:52:38 (GMT) |
commit | 401229759c2a738b085b3337babdded645415664 (patch) | |
tree | 0f165125646dba2f97daf4bb230b14d1d5782baf /Source/cmFindBase.cxx | |
parent | 0e7f34c0a9a6ad8dbcdad32910d87b8d8671cd51 (diff) | |
parent | 02440154fb457e481d44aa0a2c2134e1a66e0f4b (diff) | |
download | CMake-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.cxx | 6 |
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(); } |