Skip to content

Commit 7767d07

Browse files
authored
Merge pull request #26312 from xiaobai/unneeded-install-component
[CMake][NFC] Remove unused logic to choose swift component
2 parents 28b3d8e + b9e01b6 commit 7767d07

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,10 +1741,6 @@ function(add_swift_target_library name)
17411741
set(SWIFTLIB_TARGET_LIBRARY TRUE)
17421742
endif()
17431743

1744-
if(NOT SWIFTLIB_TARGET_LIBRARY)
1745-
set(SWIFTLIB_INSTALL_IN_COMPONENT dev)
1746-
endif()
1747-
17481744
# If target SDKs are not specified, build for all known SDKs.
17491745
if("${SWIFTLIB_TARGET_SDKS}" STREQUAL "")
17501746
set(SWIFTLIB_TARGET_SDKS ${SWIFT_SDKS})

0 commit comments

Comments
 (0)