summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-11 12:42:45 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-11 12:42:54 (GMT)
commit003759ba0da49dfa35bccfc1c4432e4ec935cd86 (patch)
tree4ef0ce6656ab3bd44251ec536db617b927191b9e /Modules
parentac0b59ef015b296114a97fc61ef4f9677302da03 (diff)
parent5a5a1d90f01d6364426be5f08244e9acf0526734 (diff)
downloadCMake-003759ba0da49dfa35bccfc1c4432e4ec935cd86.zip
CMake-003759ba0da49dfa35bccfc1c4432e4ec935cd86.tar.gz
CMake-003759ba0da49dfa35bccfc1c4432e4ec935cd86.tar.bz2
Merge topic 'threads'
5a5a1d90f0 Help: FindThreads not needed with modern C++. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2776
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindThreads.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/FindThreads.cmake b/Modules/FindThreads.cmake
index 9c96a1b..5d894c8 100644
--- a/Modules/FindThreads.cmake
+++ b/Modules/FindThreads.cmake
@@ -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)