diff options
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); } } |