Author: phosek Date: Tue Dec 12 17:14:27 2017 New Revision: 320537 URL: http://llvm.org/viewvc/llvm-project?rev=320537&view=rev Log: [lldb] Set component when invoking add_llvm_install_targets
This is needed to ensure that the distribution and install-distribution targets work properly. Differential Revision: https://reviews.llvm.org/D41144 Modified: lldb/trunk/cmake/modules/AddLLDB.cmake Modified: lldb/trunk/cmake/modules/AddLLDB.cmake URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/cmake/modules/AddLLDB.cmake?rev=320537&r1=320536&r2=320537&view=diff ============================================================================== --- lldb/trunk/cmake/modules/AddLLDB.cmake (original) +++ lldb/trunk/cmake/modules/AddLLDB.cmake Tue Dec 12 17:14:27 2017 @@ -67,7 +67,8 @@ function(add_lldb_library name) endif() if (NOT CMAKE_CONFIGURATION_TYPES) add_llvm_install_targets(install-${name} - DEPENDS ${name}) + DEPENDS ${name} + COMPONENT ${name}) endif() endif() endif() @@ -134,7 +135,8 @@ function(add_lldb_executable name) RUNTIME DESTINATION bin) if (NOT CMAKE_CONFIGURATION_TYPES) add_llvm_install_targets(install-${name} - DEPENDS ${name}) + DEPENDS ${name} + COMPONENT ${name}) endif() endif() _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits