Skip to content
Snippets Groups Projects
Commit 2bef0758 authored by Brad King's avatar Brad King
Browse files

Merge branch 'find-command-restore-PATH-on-unix' into release

parents e31084e6 54475018
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment