Skip to content

FindThreads: Avoid try_run when cross-compiling

Fixes "FindThreads: TRY_RUN() invoked in cross-compiling mode": Use try_compile() instead try_run() and some cleanups.

Fixes: #16920 (closed)
Topic-rename: FindThreads-cross-compile-no-try_run

Edited by Steffen Dettmer

Merge request reports