[PATCH] D40220: CMAKE: help CheckAtomic find check_library_exists
Martell Malone via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 18 16:23:33 PST 2017
martell updated this revision to Diff 123490.
martell added a comment.
add context so reviewers can see where it is used
Repository:
rL LLVM
https://reviews.llvm.org/D40220
Files:
cmake/modules/CheckAtomic.cmake
Index: cmake/modules/CheckAtomic.cmake
===================================================================
--- cmake/modules/CheckAtomic.cmake
+++ cmake/modules/CheckAtomic.cmake
@@ -1,6 +1,7 @@
# atomic builtins are required for threading support.
INCLUDE(CheckCXXSourceCompiles)
+INCLUDE(CheckLibraryExists)
# Sometimes linking against libatomic is required for atomic ops, if
# the platform doesn't support lock-free atomics.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40220.123490.patch
Type: text/x-patch
Size: 437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171119/157a7364/attachment.bin>
More information about the llvm-commits
mailing list