Merge branch 'find-command-restore-PATH-on-unix' into release
This commit is contained in:
commit
2bef0758e8
@ -226,12 +226,10 @@ void cmFindBase::FillSystemEnvironmentPath()
|
||||
paths.AddEnvPath(this->EnvironmentPath);
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
paths.AddEnvPrefixPath("PATH", true);
|
||||
paths.AddEnvPath("PATH");
|
||||
#endif
|
||||
} else {
|
||||
// Add PATH
|
||||
paths.AddEnvPath("PATH");
|
||||
}
|
||||
// Add PATH
|
||||
paths.AddEnvPath("PATH");
|
||||
paths.AddSuffixes(this->SearchPathSuffixes);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user