mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'threads'
5a5a1d90f0 Help: FindThreads not needed with modern C++.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2776
This commit is contained in:
@@ -29,9 +29,12 @@ caller can set
|
||||
|
||||
THREADS_PREFER_PTHREAD_FLAG
|
||||
|
||||
Please note that the compiler flag can only be used with the imported
|
||||
The compiler flag can only be used with the imported
|
||||
target. Use of both the imported target as well as this switch is highly
|
||||
recommended for new code.
|
||||
|
||||
This module is not needed for C++11 and later if threading is done using
|
||||
``std::thread`` from the standard library.
|
||||
#]=======================================================================]
|
||||
|
||||
include (CheckLibraryExists)
|
||||
|
||||
Reference in New Issue
Block a user