summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/CMakeLists.txt b/llvm/lib/Target/CMakeLists.txt
index 02b030004d4..044db10fb3f 100644
--- a/llvm/lib/Target/CMakeLists.txt
+++ b/llvm/lib/Target/CMakeLists.txt
@@ -1,5 +1,7 @@
list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
+list(APPEND LLVM_TABLEGEN_FLAGS -I ${LLVM_MAIN_SRC_DIR}/lib/Target)
+
add_llvm_library(LLVMTarget
Target.cpp
TargetIntrinsicInfo.cpp
OpenPOWER on IntegriCloud