Skip to content

CMakeDetermineCompilerId: Fix CMAKE_EXECUTABLE_FORMAT in CMP0126 NEW behavior

Brad King requested to merge brad.king/cmake:enable_language-CMP0126 into master

Setting CMAKE_EXECUTABLE_FORMAT as a normal variable is unnecessary because setting it as a cache entry already makes the value visible to the calling scope.

Fixes: #22433 (closed)
Backport: release

Edited by Brad King

Merge request reports