File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1689,7 +1689,6 @@ function(add_swift_target_library name)
1689
1689
set (SWIFTLIB_TARGET_SDKS ${SWIFT_SDKS} )
1690
1690
endif ()
1691
1691
list_replace (SWIFTLIB_TARGET_SDKS ALL_APPLE_PLATFORMS "${SWIFT_DARWIN_PLATFORMS} " )
1692
- list (REMOVE_DUPLICATES SWIFTLIB_TARGET_SDKS )
1693
1692
1694
1693
# All Swift code depends on the standard library, except for the standard
1695
1694
# library itself.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ if(SWIFT_ENABLE_REFLECTION)
17
17
endif ()
18
18
19
19
set (swiftDarwin_target_sdks ALL_APPLE_PLATFORMS )
20
- if (SWIFT_FREESTANDING_FLAVOR STREQUAL "apple" )
20
+ if (SWIFT_FREESTANDING_FLAVOR STREQUAL "apple" AND NOT SWIFT_FREESTANDING_IS_DARWIN )
21
21
set (swiftDarwin_target_sdks ALL_APPLE_PLATFORMS FREESTANDING )
22
22
endif ()
23
23
You can’t perform that action at this time.
0 commit comments