Skip to content

Commit 7235462

Browse files
committed
build: remove DEPLOYMENT_VERSION_* from _add_swift_host_library_single
1 parent 546b9b6 commit 7235462

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -714,10 +714,6 @@ function(_add_swift_host_library_single target name)
714714
STATIC)
715715
set(SWIFTLIB_SINGLE_single_parameter_options
716716
ARCHITECTURE
717-
DEPLOYMENT_VERSION_IOS
718-
DEPLOYMENT_VERSION_OSX
719-
DEPLOYMENT_VERSION_TVOS
720-
DEPLOYMENT_VERSION_WATCHOS
721717
INSTALL_IN_COMPONENT
722718
DARWIN_INSTALL_NAME_DIR
723719
SDK)
@@ -966,10 +962,6 @@ function(_add_swift_host_library_single target name)
966962
ENABLE_ASSERTIONS "${enable_assertions}"
967963
ANALYZE_CODE_COVERAGE "${analyze_code_coverage}"
968964
ENABLE_LTO "${lto_type}"
969-
DEPLOYMENT_VERSION_OSX "${SWIFTLIB_DEPLOYMENT_VERSION_OSX}"
970-
DEPLOYMENT_VERSION_IOS "${SWIFTLIB_DEPLOYMENT_VERSION_IOS}"
971-
DEPLOYMENT_VERSION_TVOS "${SWIFTLIB_DEPLOYMENT_VERSION_TVOS}"
972-
DEPLOYMENT_VERSION_WATCHOS "${SWIFTLIB_DEPLOYMENT_VERSION_WATCHOS}"
973965
RESULT_VAR_NAME c_compile_flags
974966
)
975967

@@ -986,10 +978,6 @@ function(_add_swift_host_library_single target name)
986978
ANALYZE_CODE_COVERAGE "${analyze_code_coverage}"
987979
ENABLE_LTO "${lto_type}"
988980
LTO_OBJECT_NAME "${target}-${SWIFTLIB_SINGLE_SDK}-${SWIFTLIB_SINGLE_ARCHITECTURE}"
989-
DEPLOYMENT_VERSION_OSX "${SWIFTLIB_DEPLOYMENT_VERSION_OSX}"
990-
DEPLOYMENT_VERSION_IOS "${SWIFTLIB_DEPLOYMENT_VERSION_IOS}"
991-
DEPLOYMENT_VERSION_TVOS "${SWIFTLIB_DEPLOYMENT_VERSION_TVOS}"
992-
DEPLOYMENT_VERSION_WATCHOS "${SWIFTLIB_DEPLOYMENT_VERSION_WATCHOS}"
993981
RESULT_VAR_NAME link_flags
994982
LIBRARY_SEARCH_DIRECTORIES_VAR_NAME library_search_directories
995983
)

0 commit comments

Comments
 (0)