[CMake] Default search paths for FIND_PATH

Stephen Collyer scollyer at netspinner.co.uk
Mon Nov 19 09:11:55 EST 2007


Alexander Neundorf wrote:

> The defaults are set in Modules/Platform/UnixPath.cmake and WindowsPaths.cmake

Thanks for that. There's one thing I don't understand: in
UnixPath.cmake, the search paths are set to a set of hard-coded
absolute paths, as I would expect. However, in WindowsPaths.cmake,
the search paths are set to the value of $ENV{ProgramFiles} which
I assume is the value of that environment variable. It's not clear
to me where $ENV{ProgramFiles} itself is set though - it's not an
environment variable that I have set in my Windows session. Do you
know where it comes from ?


-- 
Regards

Steve Collyer
Netspinner Ltd


More information about the CMake mailing list