[clang] 955dc34 - Fix TargetRegistry shlib build, clang edition
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 8 15:44:02 PDT 2021
Author: Reid Kleckner
Date: 2021-10-08T15:43:56-07:00
New Revision: 955dc3449acd64c0505a3823aa93a6af38b00782
URL: https://github.com/llvm/llvm-project/commit/955dc3449acd64c0505a3823aa93a6af38b00782
DIFF: https://github.com/llvm/llvm-project/commit/955dc3449acd64c0505a3823aa93a6af38b00782.diff
LOG: Fix TargetRegistry shlib build, clang edition
Added:
Modified:
clang/lib/Driver/CMakeLists.txt
clang/unittests/Driver/CMakeLists.txt
clang/unittests/Tooling/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/lib/Driver/CMakeLists.txt b/clang/lib/Driver/CMakeLists.txt
index 08be9f0115a19..61a1cd04e0888 100644
--- a/clang/lib/Driver/CMakeLists.txt
+++ b/clang/lib/Driver/CMakeLists.txt
@@ -1,5 +1,6 @@
set(LLVM_LINK_COMPONENTS
BinaryFormat
+ MC
Option
ProfileData
Support
diff --git a/clang/unittests/Driver/CMakeLists.txt b/clang/unittests/Driver/CMakeLists.txt
index d0ab87bd9ea8a..aced8f4c467ef 100644
--- a/clang/unittests/Driver/CMakeLists.txt
+++ b/clang/unittests/Driver/CMakeLists.txt
@@ -1,7 +1,8 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
- Support
+ MC
Option
+ Support
)
add_clang_unittest(ClangDriverTests
diff --git a/clang/unittests/Tooling/CMakeLists.txt b/clang/unittests/Tooling/CMakeLists.txt
index 27b5e30f76ba1..8f8142a0cc561 100644
--- a/clang/unittests/Tooling/CMakeLists.txt
+++ b/clang/unittests/Tooling/CMakeLists.txt
@@ -1,5 +1,6 @@
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
+ MC
Option
FrontendOpenMP
Support
More information about the cfe-commits
mailing list