aboutsummaryrefslogtreecommitdiff
path: root/openmp
diff options
context:
space:
mode:
authorVyacheslav Zakharin <vyacheslav.p.zakharin@intel.com>2019-01-02 19:39:49 +0000
committerVyacheslav Zakharin <vyacheslav.p.zakharin@intel.com>2019-01-02 19:39:49 +0000
commite889ac7e6b64fc2898878d43e241050eab71ed6c (patch)
tree70ca74976d471e82e6b7a63299cbe0a2fed0d60d /openmp
parentceacc63e1facaf8e57952b631ffff94d320d0bec (diff)
[libomptarget] Added install component for libomptarget
Differential Revision: https://reviews.llvm.org/D56108 llvm-svn: 350254
Diffstat (limited to 'openmp')
-rw-r--r--openmp/libomptarget/src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/openmp/libomptarget/src/CMakeLists.txt b/openmp/libomptarget/src/CMakeLists.txt
index be099f3097ea..8e552d472018 100644
--- a/openmp/libomptarget/src/CMakeLists.txt
+++ b/openmp/libomptarget/src/CMakeLists.txt
@@ -28,4 +28,5 @@ target_link_libraries(omptarget
"-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}")