[PATCH] D56108: [libomptarget] Added install component for libomptarget

Vyacheslav Zakharin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 27 11:28:59 PST 2018


vzakhari created this revision.
vzakhari added a reviewer: Hahnfeld.
vzakhari added a project: OpenMP.
Herald added subscribers: llvm-commits, mgorny.

Allow selective install of libomptarget


Repository:
  rL LLVM

https://reviews.llvm.org/D56108

Files:
  libomptarget/src/CMakeLists.txt


Index: libomptarget/src/CMakeLists.txt
===================================================================
--- libomptarget/src/CMakeLists.txt
+++ libomptarget/src/CMakeLists.txt
@@ -28,4 +28,5 @@
   "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/exports")

 # Install libomptarget under the lib destination folder.
-install(TARGETS omptarget LIBRARY DESTINATION "${OPENMP_INSTALL_LIBDIR}")
+install(TARGETS omptarget LIBRARY COMPONENT omptarget
+  DESTINATION "${OPENMP_INSTALL_LIBDIR}")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56108.179567.patch
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181227/88bcca0b/attachment.bin>


More information about the llvm-commits mailing list