[Cmake] CMAKE_ROOT

Bill Hoffman bill.hoffman at kitware.com
Wed May 30 09:50:17 EDT 2001


The variable should be deduced from the location of the executable.
If you want to run the executable from a directory other than the one
it was built in, or other than after the installed location you will
have to set CMAKE_ROOT.   If you set it to the CMake directory, with
so that $(CMAKE_ROOT)/Templates is there, it should work.

-Bill

At 02:12 PM 5/30/2001 +0100, John Biddiscombe wrote:
>I've set an environment variable
>CMAKE_ROOT
>but I get errors..
>can't load
>$(CMAKE_ROOT)/some utility template stuff.....
>or similar.
>
>Where's the correct place to set these variables?
>
>thanks
>
>JB
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake





More information about the CMake mailing list