Revert "Switch libLLVMFrontendOpenACC to be a regular CMake library and not a "component""

This reverts commit e7ed276532.

Build is broken with  -DLLVM_LINK_LLVM_DYLIB=ON
This commit is contained in:
Mehdi Amini 2020-11-14 04:14:05 +00:00
parent 875be9f454
commit ac06b1af40
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ 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)
add_llvm_library(LLVMFrontendOpenACC
add_llvm_component_library(LLVMFrontendOpenACC
ACC.cpp # Generated by tablegen above
ADDITIONAL_HEADER_DIRS