BUG: Fix cmFindBase::AddMacPath to actually use its arguments after previous refactoring commit.
This commit is contained in:
parent
dcdcd00ffa
commit
3c8ed0d600
|
@ -386,19 +386,19 @@ void cmFindBase::AddMacPath(const char* var, const char* sysvar)
|
||||||
// first environment variables
|
// first environment variables
|
||||||
if(!this->NoCMakeEnvironmentPath)
|
if(!this->NoCMakeEnvironmentPath)
|
||||||
{
|
{
|
||||||
this->AddEnvPath("CMAKE_FRAMEWORK_PATH");
|
this->AddEnvPath(var);
|
||||||
}
|
}
|
||||||
|
|
||||||
// add cmake variables
|
// add cmake variables
|
||||||
if(!this->NoCMakePath)
|
if(!this->NoCMakePath)
|
||||||
{
|
{
|
||||||
this->AddCMakePath("CMAKE_FRAMEWORK_PATH");
|
this->AddCMakePath(var);
|
||||||
}
|
}
|
||||||
|
|
||||||
// add cmake system variables
|
// add cmake system variables
|
||||||
if(!this->NoCMakeSystemPath)
|
if(!this->NoCMakeSystemPath)
|
||||||
{
|
{
|
||||||
this->AddCMakePath("CMAKE_SYSTEM_FRAMEWORK_PATH");
|
this->AddCMakePath(sysvar);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue