summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CppBackend
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/CppBackend')
-rw-r--r--llvm/lib/Target/CppBackend/CMakeLists.txt7
-rw-r--r--llvm/lib/Target/CppBackend/TargetInfo/CMakeLists.txt4
2 files changed, 11 insertions, 0 deletions
diff --git a/llvm/lib/Target/CppBackend/CMakeLists.txt b/llvm/lib/Target/CppBackend/CMakeLists.txt
index e9375599511..95b6058243d 100644
--- a/llvm/lib/Target/CppBackend/CMakeLists.txt
+++ b/llvm/lib/Target/CppBackend/CMakeLists.txt
@@ -2,4 +2,11 @@ add_llvm_target(CppBackend
CPPBackend.cpp
)
+add_llvm_library_dependencies(LLVMCppBackend
+ LLVMCore
+ LLVMCppBackendInfo
+ LLVMSupport
+ LLVMTarget
+ )
+
add_subdirectory(TargetInfo)
diff --git a/llvm/lib/Target/CppBackend/TargetInfo/CMakeLists.txt b/llvm/lib/Target/CppBackend/TargetInfo/CMakeLists.txt
index edaf5d3cb18..7165d8fdf2c 100644
--- a/llvm/lib/Target/CppBackend/TargetInfo/CMakeLists.txt
+++ b/llvm/lib/Target/CppBackend/TargetInfo/CMakeLists.txt
@@ -4,3 +4,7 @@ add_llvm_library(LLVMCppBackendInfo
CppBackendTargetInfo.cpp
)
+add_llvm_library_dependencies(LLVMCppBackendInfo
+ LLVMMC
+ LLVMTarget
+ )
OpenPOWER on IntegriCloud