mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00: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:
commit
003759ba0d
@ -29,9 +29,12 @@ caller can set
|
|||||||
|
|
||||||
THREADS_PREFER_PTHREAD_FLAG
|
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
|
target. Use of both the imported target as well as this switch is highly
|
||||||
recommended for new code.
|
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)
|
include (CheckLibraryExists)
|
||||||
|
Loading…
Reference in New Issue
Block a user