[llvm] 1a21b08 - Add LINK_COMPONENTS Support
Valentin Clement via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 13 19:23:53 PDT 2020
Author: Valentin Clement
Date: 2020-07-13T22:23:23-04:00
New Revision: 1a21b088f4a855469f481a094b218c316ca4e796
URL: https://github.com/llvm/llvm-project/commit/1a21b088f4a855469f481a094b218c316ca4e796
DIFF: https://github.com/llvm/llvm-project/commit/1a21b088f4a855469f481a094b218c316ca4e796.diff
LOG: Add LINK_COMPONENTS Support
Added:
Modified:
llvm/lib/Frontend/OpenACC/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/lib/Frontend/OpenACC/CMakeLists.txt b/llvm/lib/Frontend/OpenACC/CMakeLists.txt
index 7c0563513781..4c23f32ecd3b 100644
--- a/llvm/lib/Frontend/OpenACC/CMakeLists.txt
+++ b/llvm/lib/Frontend/OpenACC/CMakeLists.txt
@@ -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
More information about the llvm-commits
mailing list