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:
Brad King 2019-01-11 12:42:45 +00:00 committed by Kitware Robot
commit 003759ba0d

View File

@ -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)