[Openmp-commits] [openmp] aad9e48 - [NFC][libomptarget] Remove redundant libelf dependency for elf_common.
Vyacheslav Zakharin via Openmp-commits
openmp-commits at lists.llvm.org
Mon Jun 21 07:21:07 PDT 2021
Author: Vyacheslav Zakharin
Date: 2021-06-21T07:19:55-07:00
New Revision: aad9e48c5fc778bf2e0d622d55f295d847ae66a1
URL: https://github.com/llvm/llvm-project/commit/aad9e48c5fc778bf2e0d622d55f295d847ae66a1
DIFF: https://github.com/llvm/llvm-project/commit/aad9e48c5fc778bf2e0d622d55f295d847ae66a1.diff
LOG: [NFC][libomptarget] Remove redundant libelf dependency for elf_common.
Differential Revision: https://reviews.llvm.org/D104549
Added:
Modified:
openmp/libomptarget/plugins/common/elf_common/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libomptarget/plugins/common/elf_common/CMakeLists.txt b/openmp/libomptarget/plugins/common/elf_common/CMakeLists.txt
index 9dfc969c4575f..aad2e14318e05 100644
--- a/openmp/libomptarget/plugins/common/elf_common/CMakeLists.txt
+++ b/openmp/libomptarget/plugins/common/elf_common/CMakeLists.txt
@@ -16,7 +16,7 @@ add_library(elf_common OBJECT elf_common.cpp)
set_property(TARGET elf_common PROPERTY POSITION_INDEPENDENT_CODE ON)
llvm_update_compile_flags(elf_common)
set(LINK_LLVM_LIBS LLVMBinaryFormat LLVMObject LLVMSupport)
-target_link_libraries(elf_common INTERFACE ${LINK_LLVM_LIBS} ${LIBOMPTARGET_DEP_LIBELF_LIBRARIES})
+target_link_libraries(elf_common INTERFACE ${LINK_LLVM_LIBS})
include_directories(${LIBOMPTARGET_LLVM_INCLUDE_DIRS})
add_dependencies(elf_common ${LINK_LLVM_LIBS})
More information about the Openmp-commits
mailing list