Skip to content

try_run: Avoid crash in keyword-dispatched signature when cross-compiling

Brad King requested to merge brad.king/cmake:try_run-cross-compile into master

Since !7579 (merged) the DoNotRunExecutable code path may be reached with no single source-file argument. Do not assume it exists.

Fixes: #24295 (closed)
Backport: release:HEAD^2

Edited by Brad King

Merge request reports