[PATCH] D136282: [clang] [CMake] Link libclangBasic against libatomic when necessary.
Michał Górny via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 3 13:08:28 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG20132d8eaa68: Link libclangBasic against libatomic when necessary. (authored by thesamesam, committed by mgorny).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136282/new/
https://reviews.llvm.org/D136282
Files:
clang/CMakeLists.txt
clang/lib/Basic/CMakeLists.txt
Index: clang/lib/Basic/CMakeLists.txt
===================================================================
--- clang/lib/Basic/CMakeLists.txt
+++ clang/lib/Basic/CMakeLists.txt
@@ -111,3 +111,7 @@
omp_gen
)
+target_link_libraries(clangBasic
+ PRIVATE
+ ${LLVM_ATOMIC_LIB}
+)
Index: clang/CMakeLists.txt
===================================================================
--- clang/CMakeLists.txt
+++ clang/CMakeLists.txt
@@ -63,6 +63,7 @@
include(TableGen)
include(HandleLLVMOptions)
include(VersionFromVCS)
+ include(CheckAtomic)
include(GetErrcMessages)
include(LLVMDistributionSupport)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136282.473009.patch
Type: text/x-patch
Size: 616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221103/fb2e219e/attachment.bin>
More information about the cfe-commits
mailing list