ENVIRONMENT

From Get docs
Cmake/docs/3.21/prop test/environment


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–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/prop_test/ENVIRONMENT.html