Add LINK_COMPONENTS Support

This commit is contained in:
Valentin Clement 2020-07-13 22:22:47 -04:00
parent 2c7a07b59d
commit 1a21b088f4
1 changed files with 3 additions and 2 deletions

View File

@ -2,8 +2,6 @@ set(LLVM_TARGET_DEFINITIONS ${LLVM_MAIN_INCLUDE_DIR}/llvm/Frontend/OpenACC/ACC.t
tablegen(LLVM ACC.cpp --gen-directive-impl)
add_public_tablegen_target(acc_cpp)
set(LLVM_LINK_COMPONENTS Support)
add_llvm_component_library(LLVMFrontendOpenACC
ACC.cpp # Generated by tablegen above
@ -11,6 +9,9 @@ add_llvm_component_library(LLVMFrontendOpenACC
${LLVM_MAIN_INCLUDE_DIR}/llvm/Frontend
${LLVM_MAIN_INCLUDE_DIR}/llvm/Frontend/OpenACC
LINK_COMPONENTS
Support
DEPENDS
acc_gen
acc_cpp