[CMake] Default search paths for FIND_PATH

Stephen Collyer scollyer at netspinner.co.uk
Mon Nov 19 10:01:02 EST 2007


Hendrik Sattler wrote:

> ProgramFiles is a variable defined by Windows itself. On Windows XP, it
> points to "C:\Program Files" or a translated version (e.g.
> "C:\Programme" in the German Windows version). On Vista, is is always
> the english one (obviously they realized the downsides of the first
> approach).

OK, I'm running a Win2K box, and it is, in fact, set there too.
It seems to be set up automagically somewhere by Windows, as it
doesn't appear in the editable list under the System Properties
> Environment Variables tab. However, "echo %ProgramFiles%" shows
that it is indeed defined.

I love Windows.

-- 
Regards

Steve Collyer
Netspinner Ltd


More information about the CMake mailing list