[CMake] setting environment variable through cmake

Nicolas Desprès nicolas.despres at gmail.com
Mon Feb 16 09:36:46 EST 2009


Hi,

What version of cmake do you use? It is working for me.

Cheers,

Nico

On Mon, Feb 16, 2009 at 6:46 AM, ankit jain <ankitguddu at gmail.com> wrote:
> Hi all,
>
> I want to set an enviromnet varibale but not able to do it.
> Currently iam using the command:
> SET( ENV{varname} value )
>
> But it is not working.
> Can anybody guide me how to do it by giving an example.
>
>
> Ankit
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
Nicolas Desprès


More information about the CMake mailing list