Closed nim65s closed 1 year ago
ref. https://cmake.org/cmake/help/latest/variable/ENV.html:
To test whether an environment variable is defined, use the signature if(DEFINED ENV{<name>}) of the if() command.
if(DEFINED ENV{<name>})
if()
ref. https://cmake.org/cmake/help/latest/variable/ENV.html: