diff options
author | Brad King <brad.king@kitware.com> | 2022-08-08 16:41:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-08-08 16:41:57 (GMT) |
commit | 720396378890ee93158343ff3d681423bf0bdd4a (patch) | |
tree | 102781ea7e5f3beceb24016ea18b48f95f301bcb /Modules/Findosg.cmake | |
parent | 4be24f031a4829db75b85062cc67125035d8831e (diff) | |
download | CMake-720396378890ee93158343ff3d681423bf0bdd4a.zip CMake-720396378890ee93158343ff3d681423bf0bdd4a.tar.gz CMake-720396378890ee93158343ff3d681423bf0bdd4a.tar.bz2 |
FindThreads: Skip check for -pthread flag when targeting the MSVC ABI
Since commit 3257c34073 (FindThreads: avoid failing in AIX when using
-D_XOPEN_SOURCE=500, 2022-04-30, v3.24.0-rc1~197^2) we no longer check
for `pthreads.h` before checking for the `-pthread` flag. Compilers
targeting the MSVC ABI do not have such a flag, so avoid performing the
check unnecessarily.
Fixes: #23829
Diffstat (limited to 'Modules/Findosg.cmake')
0 files changed, 0 insertions, 0 deletions