Skip to content

FindThreads: Filter -pthread out for compatibility with Swift linker

Harry Mallon requested to merge hjmallon/cmake:_hm_swift_threads_pthread into master

Filter out the -pthread argument which is not compatible with the Swift linker. Fixes #24369 (closed).

Fix suggested by @brad.king on that issue.

Merge request reports