mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
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
3 lines
60 B
CMake
3 lines
60 B
CMake
cmake_policy(SET CMP0132 OLD)
|
|
include(CMP0132-Common.cmake)
|