[PATCH] D62176: [CMake] Specify component for all target types

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 00:15:16 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL361223: [CMake] Specify component for all target types (authored by phosek, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D62176?vs=200410&id=200412#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62176/new/

https://reviews.llvm.org/D62176

Files:
  llvm/trunk/cmake/modules/AddLLVM.cmake


Index: llvm/trunk/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake
+++ llvm/trunk/cmake/modules/AddLLVM.cmake
@@ -682,10 +682,9 @@
 
       install(TARGETS ${name}
               ${export_to_llvmexports}
-              LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
-              ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}
-              RUNTIME DESTINATION bin
-              COMPONENT ${name})
+              LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT ${name}
+              ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT ${name}
+              RUNTIME DESTINATION bin COMPONENT ${name})
 
       if (NOT LLVM_ENABLE_IDE)
         add_llvm_install_targets(install-${name}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62176.200412.patch
Type: text/x-patch
Size: 785 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190521/97219f4d/attachment.bin>


More information about the llvm-commits mailing list