diff options
author | Vyacheslav Zakharin <vyacheslav.p.zakharin@intel.com> | 2019-01-02 19:39:49 +0000 |
---|---|---|
committer | Vyacheslav Zakharin <vyacheslav.p.zakharin@intel.com> | 2019-01-02 19:39:49 +0000 |
commit | daa2a6a1e5b8138434ca60cbb8351a6a9575e815 (patch) | |
tree | 554a547e29296b86ca898037e2758302ac69af18 /openmp | |
parent | fea0d2182d9ca84205948cc1d18d6b536d708d6d (diff) |
[libomptarget] Added install component for libomptarget
Differential Revision: https://reviews.llvm.org/D56108
Diffstat (limited to 'openmp')
-rw-r--r-- | openmp/libomptarget/src/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openmp/libomptarget/src/CMakeLists.txt b/openmp/libomptarget/src/CMakeLists.txt index be099f3097e..8e552d47201 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}") |