The 'Set' Command Does Not Append Multiple Arguments
The 'Set' command does not handle multiple strings when setting environment variables.
For example:
set (ENV{VAR} value_1 value_2)
message(STATUS "VAR = '" $ENV{VAR} "'")
Or similarly:
set (ENV_VALUE value_1 value_2)
set (ENV${VAR} ${ENV_VALUE})
message(STATUS "VAR = '" $ENV{VAR} "'")
The documentation indicates that multiple values can be specified. Which is the correct behavior? It's not a high priority problem, since it can be fixed by using a quoted argument.