[PATCH] D40220: CMAKE: help CheckAtomic find check_library_exists

Martell Malone via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 23:17:37 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL319610: CMAKE: help CheckAtomic find check_library_exists (authored by martell).

Changed prior to commit:
  https://reviews.llvm.org/D40220?vs=123490&id=125257#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D40220

Files:
  llvm/trunk/cmake/modules/CheckAtomic.cmake


Index: llvm/trunk/cmake/modules/CheckAtomic.cmake
===================================================================
--- llvm/trunk/cmake/modules/CheckAtomic.cmake
+++ llvm/trunk/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.125257.patch
Type: text/x-patch
Size: 470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171202/d70f200d/attachment.bin>


More information about the llvm-commits mailing list