ENVIRONMENT
Specify environment variables that should be defined for running a test.
If set to a list of environment variables and values of the form MYVAR=value
those environment variables will be defined while running the test. The environment is restored to its previous state after the test is done.
© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.17/prop_test/ENVIRONMENT.html