aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LTO/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/LTO/CMakeLists.txt')
-rw-r--r--lib/LTO/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/LTO/CMakeLists.txt b/lib/LTO/CMakeLists.txt
index 8e00bcb..1c099bb 100644
--- a/lib/LTO/CMakeLists.txt
+++ b/lib/LTO/CMakeLists.txt
@@ -1,4 +1,9 @@
add_llvm_library(LLVMLTO
LTOModule.cpp
LTOCodeGenerator.cpp
+
+ ADDITIONAL_HEADER_DIRS
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/LTO
)
+
+add_dependencies(LLVMLTO intrinsics_gen)