mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
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
This commit is contained in:
@@ -32,9 +32,6 @@ caller can set
|
|||||||
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user