Skip to content

Commit

Permalink
[JITLink] Fix missing ADDITIONAL_HEADER_DIRS for the LLVMJITLink comp…
Browse files Browse the repository at this point in the history
…onent.

Also adds target_link_libraries.

Thanks to @jcmac for spotting this.
  • Loading branch information
lhames committed May 4, 2020
1 parent 7ac0c3b commit 990eb94
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions llvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
Expand Up @@ -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
)

0 comments on commit 990eb94

Please sign in to comment.