diff options
author | Brad King <brad.king@kitware.com> | 2008-06-06 13:06:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-06-06 13:06:27 (GMT) |
commit | 3c8ed0d600bf466ed8607711adce362dc801db02 (patch) | |
tree | 0c24d202f5f2f192b0300ba8e05513c27e90177b /Source/cmFindBase.cxx | |
parent | dcdcd00ffa5e24906ff985b9fa8d3c3cc7ef8615 (diff) | |
download | CMake-3c8ed0d600bf466ed8607711adce362dc801db02.zip CMake-3c8ed0d600bf466ed8607711adce362dc801db02.tar.gz CMake-3c8ed0d600bf466ed8607711adce362dc801db02.tar.bz2 |
BUG: Fix cmFindBase::AddMacPath to actually use its arguments after previous refactoring commit.
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r-- | Source/cmFindBase.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx index 0b431bf..f5ac83d 100644 --- a/Source/cmFindBase.cxx +++ b/Source/cmFindBase.cxx @@ -386,19 +386,19 @@ void cmFindBase::AddMacPath(const char* var, const char* sysvar) // first environment variables if(!this->NoCMakeEnvironmentPath) { - this->AddEnvPath("CMAKE_FRAMEWORK_PATH"); + this->AddEnvPath(var); } // add cmake variables if(!this->NoCMakePath) { - this->AddCMakePath("CMAKE_FRAMEWORK_PATH"); + this->AddCMakePath(var); } // add cmake system variables if(!this->NoCMakeSystemPath) { - this->AddCMakePath("CMAKE_SYSTEM_FRAMEWORK_PATH"); + this->AddCMakePath(sysvar); } } |