views:

725

answers:

1

I know how to retrieve a normal machine wide environment variable in CMAKE using

$ENV{EnvironmentVariableName}

but I can not retrieve a user specific environment variable. Is it possible and how?

A: 

Ok, the CMake command as described works as it should. Even for user environment variables. I don´t know what I did wrong... ;)

yoursort