Skip to content

try_compile: Honor CMP0128 setting in test project

Brad King requested to merge brad.king/cmake:try_compile-CMP0128 into master

Some projects pass a raw -std= flag to the compiler in the try_compile project. If they do not set CMP0128 to NEW, we should not append a -std= flag where we did not before the policy was added.

Fixes: #24063 (closed)
Backport: release

Edited by Brad King

Merge request reports