forked from OSchip/llvm-project
Add LINK_COMPONENTS Support
This commit is contained in:
parent
2c7a07b59d
commit
1a21b088f4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue