Skip to content

Commit 1f75b63

Browse files
committedDec 2, 2017
CMAKE: help CheckAtomic find check_library_exists
lldb fails to build standalone on x86 -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Failed CMake Error at CheckAtomic.cmake:66 (check_library_exists): Unknown CMake command "check_library_exists". Call Stack (most recent call first): LLDBStandalone.cmake:90 (include) CMakeLists.txt:3 (include) Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D40220 llvm-svn: 319610
1 parent f665f6a commit 1f75b63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎llvm/cmake/modules/CheckAtomic.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# atomic builtins are required for threading support.
22

33
INCLUDE(CheckCXXSourceCompiles)
4+
INCLUDE(CheckLibraryExists)
45

56
# Sometimes linking against libatomic is required for atomic ops, if
67
# the platform doesn't support lock-free atomics.

0 commit comments

Comments
 (0)
Please sign in to comment.