-
- Downloads
try_run: Avoid crash in keyword-dispatched signature when cross-compiling
Since commit aa9220d3 (try_compile: Add keyword-dispatched signature, 2022-09-02, v3.25.0-rc1~178^2) the `DoNotRunExecutable` code path may be reached with no single source-file argument. Do not assume it exists. Fixes: #24295
Showing
- Source/cmTryRunCommand.cxx 8 additions, 6 deletionsSource/cmTryRunCommand.cxx
- Tests/RunCMake/try_run/CrossCompile.cmake 8 additions, 0 deletionsTests/RunCMake/try_run/CrossCompile.cmake
- Tests/RunCMake/try_run/old_and_new_signature_tests.cmake 2 additions, 0 deletionsTests/RunCMake/try_run/old_and_new_signature_tests.cmake
Loading
Please register or sign in to comment