[llvm] 990eb94 - [JITLink] Fix missing ADDITIONAL_HEADER_DIRS for the LLVMJITLink component.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Mon May 4 13:03:46 PDT 2020
Author: Lang Hames
Date: 2020-05-04T12:58:09-07:00
New Revision: 990eb9446755c8b88f2995a5e8768f5085d54258
URL: https://github.com/llvm/llvm-project/commit/990eb9446755c8b88f2995a5e8768f5085d54258
DIFF: https://github.com/llvm/llvm-project/commit/990eb9446755c8b88f2995a5e8768f5085d54258.diff
LOG: [JITLink] Fix missing ADDITIONAL_HEADER_DIRS for the LLVMJITLink component.
Also adds target_link_libraries.
Thanks to @jcmac for spotting this.
Added:
Modified:
llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt b/llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
index d5a886b2f5a5..d34d1817d0e8 100644
--- a/llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
+++ b/llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
@@ -8,6 +8,14 @@ add_llvm_component_library(LLVMJITLink
MachO_x86_64.cpp
MachOLinkGraphBuilder.cpp
+ ADDITIONAL_HEADER_DIRS
+ ${LLVM_MAIN_INCLUDE_DIR}/llvm/ExecutionEngine/JITLink
+
DEPENDS
intrinsics_gen
)
+
+target_link_libraries(LLVMJITLink
+ PRIVATE
+ LLVMObject
+)
More information about the llvm-commits
mailing list