Yes... SET(ENV{BLAH} "blah value")
...but it only applies to the running process. The parent process environment remains unaffected by this type of SET. Then, to read env vars into cmake, use "$ENV{BLAH}" On 10/30/07, Mark Wyszomierski <[EMAIL PROTECTED]> wrote: > > Hi, > > Is it possible to set an environment variable (linux) through CMake? > > Thanks, > Mark > _______________________________________________ > CMake mailing list > CMake@cmake.org > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake