Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CMP0132: Don't set compiler environment variables on first run | Craig Scott | 2022-03-29 | 9 | -0/+34 |
When running CMake for the first time in a build tree, for some generators CMake would set compiler environment variables like CC, CXX, etc. when the corresponding language is enabled. That behavior was never documented and can result in different behavior between the first and subsequent runs. Add a policy to no longer set those environment variables. Fixes: #21378 |