[CMake] environment variables scope

2009-10-20 Thread James C. Sutherland
How do I set an environment variable so that it is visible globally in CMake? Specifically, I want to have it visible when I run something like: #--- # set the environment variable value set( ENV{myVariable} ... ) # run a test through a CMake script that

Re: [CMake] environment variables scope

2009-10-20 Thread Alexander Neundorf
On Tuesday 20 October 2009, James C. Sutherland wrote: How do I set an environment variable so that it is visible globally in CMake? Specifically, I want to have it visible when I run something like: #--- # set the environment variable value set(