[Cmake-commits] CMake branch, master, updated. v3.13.2-857-g003759b
Kitware Robot
kwrobot at kitware.com
Fri Jan 11 07:43:06 EST 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 003759ba0da49dfa35bccfc1c4432e4ec935cd86 (commit)
via 5a5a1d90f01d6364426be5f08244e9acf0526734 (commit)
from ac0b59ef015b296114a97fc61ef4f9677302da03 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=003759ba0da49dfa35bccfc1c4432e4ec935cd86
commit 003759ba0da49dfa35bccfc1c4432e4ec935cd86
Merge: ac0b59e 5a5a1d9
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri Jan 11 12:42:45 2019 +0000
Commit: Kitware Robot <kwrobot at kitware.com>
CommitDate: Fri Jan 11 07:42:54 2019 -0500
Merge topic 'threads'
5a5a1d90f0 Help: FindThreads not needed with modern C++.
Acked-by: Kitware Robot <kwrobot at kitware.com>
Merge-request: !2776
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5a5a1d90f01d6364426be5f08244e9acf0526734
commit 5a5a1d90f01d6364426be5f08244e9acf0526734
Author: Joachim Wuttke (o) <j.wuttke at fz-juelich.de>
AuthorDate: Wed Jan 9 11:01:46 2019 +0100
Commit: Joachim Wuttke (o) <j.wuttke at fz-juelich.de>
CommitDate: Wed Jan 9 11:03:44 2019 +0100
Help: FindThreads not needed with modern C++.
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)
-----------------------------------------------------------------------
Summary of changes:
Modules/FindThreads.cmake | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list