[PATCH] D41144: [lldb] Set component when invoking add_llvm_install_targets

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 17:15:20 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL320537: [lldb] Set component when invoking add_llvm_install_targets (authored by phosek, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D41144?vs=126655&id=126658#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D41144

Files:
  lldb/trunk/cmake/modules/AddLLDB.cmake


Index: lldb/trunk/cmake/modules/AddLLDB.cmake
===================================================================
--- lldb/trunk/cmake/modules/AddLLDB.cmake
+++ lldb/trunk/cmake/modules/AddLLDB.cmake
@@ -67,7 +67,8 @@
       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 @@
           RUNTIME DESTINATION bin)
     if (NOT CMAKE_CONFIGURATION_TYPES)
       add_llvm_install_targets(install-${name}
-                               DEPENDS ${name})
+                               DEPENDS ${name}
+                               COMPONENT ${name})
     endif()
   endif()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41144.126658.patch
Type: text/x-patch
Size: 836 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171213/4d71210a/attachment.bin>


More information about the llvm-commits mailing list