CMAKE_SYSTEM_ENVIRONMENT_ACTIONΒΆ

Added in version 4.5.

This is a CMake Environment Variable. Its initial value is taken from the calling process environment.

Specify the action taken by cmake(1) when the value of CMAKE_SYSTEM_ENVIRONMENT_ID in the environment does not match the cached value. If not set, the default is WARN.

The value may be one of:

IGNORE

No action is taken.

WARN

A warning is emitted to the user.

REFRESH

The cache is automatically refreshed, as if by --fresh. Take care when setting this option, as all cache variables not specified in a configure preset or the current invocation of cmake(1) will be lost.