> My current goal is to be able to detect if environment variables are set > and supply their values as defaults in the CMake GUI. You can reference the special $ENV{} variable to get environment values like any other CMake variable: MESSAGE("$ENV{LD_LIBRARY_PATH}") -Brad