summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/CodeGen/CMakeLists.txt1
-rw-r--r--clang/tools/driver/CMakeLists.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CMakeLists.txt b/clang/lib/CodeGen/CMakeLists.txt
index 2da4f4961a0..10bda76b6b6 100644
--- a/clang/lib/CodeGen/CMakeLists.txt
+++ b/clang/lib/CodeGen/CMakeLists.txt
@@ -10,6 +10,7 @@ set(LLVM_LINK_COMPONENTS
Linker
MC
ObjCARCOpts
+ Object
ProfileData
ScalarOpts
Support
diff --git a/clang/tools/driver/CMakeLists.txt b/clang/tools/driver/CMakeLists.txt
index 82eed6e66db..3f1ed40abe4 100644
--- a/clang/tools/driver/CMakeLists.txt
+++ b/clang/tools/driver/CMakeLists.txt
@@ -33,6 +33,7 @@ add_clang_executable(clang
target_link_libraries(clang
clangBasic
+ clangCodeGen
clangDriver
clangFrontend
clangFrontendTool
OpenPOWER on IntegriCloud