Skip to content

try_compile: Restore COPY_FILE with CMAKE_TRY_COMPILE_CONFIGURATION

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

Since !7626 (merged) we always look for the "Debug" configuration's output binary from the test project. Restore looking for the CMAKE_TRY_COMPILE_CONFIGURATION.

Fixes: #24180 (closed)
Backport: release

Merge request reports