[CMake] SET(ENV {environment_variable} {value])
Richard Fuchs
fuchsrich at se-core.net
Wed Sep 6 18:09:10 EDT 2006
I need to set an environment variable so I'm doing this:
SET(ENV{ACE_ROOT}
"/work/secore-dev/secore/external/ACE_TAO/ACE_wrappers/ace")
but after cmake is run and the Makefiles are generated, I do an env and
the environment variable ACE_ROOT is not set.
When the documentation refers to an environment variable, is it
referring to an internal cmake environment variable?
VAR can be an environment variable such as:
SET( ENV{PATH} /home/martink )
in which case the environment variable will be set.
Thanks
Richard
More information about the CMake
mailing list