Skip to content

Commit e4064fd

Browse files
committed
build: remove FRAMEWORK_DEPENDS from _add_swift_host_library_single
1 parent 7bc703e commit e4064fd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,6 @@ endfunction()
678678
# [STATIC]
679679
# [SDK sdk]
680680
# [ARCHITECTURE architecture]
681-
# [FRAMEWORK_DEPENDS dep1 ...]
682681
# [FRAMEWORK_DEPENDS_WEAK dep1 ...]
683682
# [LLVM_LINK_COMPONENTS comp1 ...]
684683
# [SWIFT_COMPILE_FLAGS flag1...]
@@ -705,9 +704,6 @@ endfunction()
705704
# ARCHITECTURE
706705
# Architecture to build for.
707706
#
708-
# FRAMEWORK_DEPENDS
709-
# System frameworks this library depends on.
710-
#
711707
# FRAMEWORK_DEPENDS_WEAK
712708
# System frameworks this library depends on that should be weakly-linked.
713709
#
@@ -743,7 +739,6 @@ function(_add_swift_host_library_single target name)
743739
SDK)
744740
set(SWIFTLIB_SINGLE_multiple_parameter_options
745741
FILE_DEPENDS
746-
FRAMEWORK_DEPENDS
747742
FRAMEWORK_DEPENDS_WEAK
748743
GYB_SOURCES
749744
INCORPORATE_OBJECT_LIBRARIES
@@ -996,9 +991,6 @@ function(_add_swift_host_library_single target name)
996991
${LLVM_COMMON_DEPENDS})
997992

998993
# Link against system frameworks.
999-
foreach(FRAMEWORK ${SWIFTLIB_SINGLE_FRAMEWORK_DEPENDS})
1000-
target_link_libraries(${target} PUBLIC "-framework ${FRAMEWORK}")
1001-
endforeach()
1002994
foreach(FRAMEWORK ${SWIFTLIB_SINGLE_FRAMEWORK_DEPENDS_WEAK})
1003995
target_link_libraries(${target} PUBLIC "-weak_framework ${FRAMEWORK}")
1004996
endforeach()

0 commit comments

Comments
 (0)