llvm.org GIT mirror llvm / c4aea60
[CMake] Specify component for all target types This addresses an issue introduced in r360230 which broke existing use cases of LLVM_DISTRIBUTION_COMPONENTS since ARCHIVE and LIBRARY target types are no longer handled as components. Differential Revision: https://reviews.llvm.org/D62176 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361223 91177308-0d34-0410-b5e6-96231b3b80d8 Petr Hosek 2 months ago
1 changed file(s) with 3 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
681681
682682 install(TARGETS ${name}
683683 ${export_to_llvmexports}
684 LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
685 ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}
686 RUNTIME DESTINATION bin
687 COMPONENT ${name})
684 LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT ${name}
685 ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX} COMPONENT ${name}
686 RUNTIME DESTINATION bin COMPONENT ${name})
688687
689688 if (NOT LLVM_ENABLE_IDE)
690689 add_llvm_install_targets(install-${name}