Skip to content

CMP0128: Add flag in OLD mode even when standard matches the default

Raul Tambre requested to merge tambre/cmake:cmp0128_cuda into master

Commit 4a0485be from !6177 (merged) unintentionally changed the behavior by modifying the code to match a pre-existing comment. The resulting behavior change however matches the intentions of CMP0128, so we simply need to guard it.

Fixes: #23122 (closed)
Backport: release

Edited by Brad King

Merge request reports