Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 689ebb7

Browse files
committedDec 13, 2017
[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 git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@320537 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 85364f8 commit 689ebb7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎cmake/modules/AddLLDB.cmake

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ function(add_lldb_library name)
6767
endif()
6868
if (NOT CMAKE_CONFIGURATION_TYPES)
6969
add_llvm_install_targets(install-${name}
70-
DEPENDS ${name})
70+
DEPENDS ${name}
71+
COMPONENT ${name})
7172
endif()
7273
endif()
7374
endif()
@@ -134,7 +135,8 @@ function(add_lldb_executable name)
134135
RUNTIME DESTINATION bin)
135136
if (NOT CMAKE_CONFIGURATION_TYPES)
136137
add_llvm_install_targets(install-${name}
137-
DEPENDS ${name})
138+
DEPENDS ${name}
139+
COMPONENT ${name})
138140
endif()
139141
endif()
140142

0 commit comments

Comments
 (0)
This repository has been archived.