summaryrefslogtreecommitdiffstats
path: root/Modules/FindThreads.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-05-28 15:36:27 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-28 15:36:27 (GMT)
commita38b63c1bb2485f43054906f2e9697f9a3979ce6 (patch)
treecb4cc09fc6a6e4301d82851555a9b310475d5a06 /Modules/FindThreads.cmake
parentf872033d7531ed1d7d7345ff7873442ec8dbcee1 (diff)
downloadCMake-a38b63c1bb2485f43054906f2e9697f9a3979ce6.zip
CMake-a38b63c1bb2485f43054906f2e9697f9a3979ce6.tar.gz
CMake-a38b63c1bb2485f43054906f2e9697f9a3979ce6.tar.bz2
FindThreads: Drop incorrect docs about usage with C++
Drop the sentence added by commit 5a5a1d90f0 (Help: FindThreads not needed with modern C++., 2019-01-09, v3.14.0-rc1~186^2) about not needing the module with modern C++. The module is often still needed. Fixes: #19297
Diffstat (limited to 'Modules/FindThreads.cmake')
-rw-r--r--Modules/FindThreads.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/Modules/FindThreads.cmake b/Modules/FindThreads.cmake
index 919392a..36b55c2 100644
--- a/Modules/FindThreads.cmake
+++ b/Modules/FindThreads.cmake
@@ -32,9 +32,6 @@ caller can set
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)