diff options
author | Mattias Ellert <mattias.ellert@physics.uu.se> | 2021-11-03 08:43:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-01-26 13:50:16 (GMT) |
commit | 5efb6fb51602aa11d98a2baa1313ab9b857d2672 (patch) | |
tree | 70fe6c3ae98b9c06e93776d268fca155504af6c6 /CMakeGraphVizOptions.cmake | |
parent | 74f14997c6b74ef596ee7be2a622056ae7cfe062 (diff) | |
download | CMake-5efb6fb51602aa11d98a2baa1313ab9b857d2672.zip CMake-5efb6fb51602aa11d98a2baa1313ab9b857d2672.tar.gz CMake-5efb6fb51602aa11d98a2baa1313ab9b857d2672.tar.bz2 |
FindThreads: Honor THREADS_PREFER_PTHREAD_FLAG when pthread is found in libc
The `-pthread` flag tells the compiler/linker to link to additional
libraries needed for thread support (e.g. libatomic on riscv64). The
flag therefore should be used if requested using
`THREADS_PREFER_PTHREAD_FLAG` also when the pthread functions are
found in libc.
Diffstat (limited to 'CMakeGraphVizOptions.cmake')
0 files changed, 0 insertions, 0 deletions