summaryrefslogtreecommitdiffstats
path: root/Modules/FindThreads.cmake
diff options
context:
space:
mode:
authorJoachim Wuttke (o) <j.wuttke@fz-juelich.de>2019-01-09 10:01:46 (GMT)
committerJoachim Wuttke (o) <j.wuttke@fz-juelich.de>2019-01-09 10:03:44 (GMT)
commit5a5a1d90f01d6364426be5f08244e9acf0526734 (patch)
tree5ed17cc070b0a5ed78231b46b99c3fbde22bca0c /Modules/FindThreads.cmake
parent98103e38d0f6b64ded0503462abfc7b09dc8bea7 (diff)
downloadCMake-5a5a1d90f01d6364426be5f08244e9acf0526734.zip
CMake-5a5a1d90f01d6364426be5f08244e9acf0526734.tar.gz
CMake-5a5a1d90f01d6364426be5f08244e9acf0526734.tar.bz2
Help: FindThreads not needed with modern C++.
Diffstat (limited to 'Modules/FindThreads.cmake')
-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)