[Cmake] CMake using environment variables

Marco Spatz marco.spatz at icido.de
Fri Sep 17 05:01:12 EDT 2004


Hi,

I'm a newbie to cmake,  and I have to "convert" existing cmakelists.txt 
useb by cmake 1.8.3 to cmake 2.0.3 format. This ain't to much, but in 
the old cmakelists.txt we use $(PFROOT) to access a global variable set 
in windows, but the new cmake complains about that syntax. But what is 
the correct syntax or way to access that variable? I tried ${PFROOT} 
already, but that didn't work.

Thx,
Marco


More information about the Cmake mailing list