Skip to content

Commit 51d0715

Browse files
authored
[CMake] Update dependencies for CloudKit for Apple-internal configs. (#7693)
rdar://problem/30432611
1 parent b5fb342 commit 51d0715

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

stdlib/public/SDK/CloudKit/CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,19 @@ add_swift_library(swiftCloudKit ${SWIFT_SDK_OVERLAY_LIBRARY_BUILD_TYPES} IS_SDK_
44
SWIFT_COMPILE_FLAGS "${SWIFT_RUNTIME_SWIFT_COMPILE_FLAGS}"
55
LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS}"
66
TARGET_SDKS ALL_APPLE_PLATFORMS
7+
8+
# The dependency on the 'os' module only appears in particular Apple-internal
9+
# configurations, but it causes no harm to specify it unconditionally.
10+
# The ./utils/find-overlay-dependencies.sh tool only touches the
11+
# OSX|IOS|TVOS|WATCHOS lines, so the standalone "os" lines remain.
712
SWIFT_MODULE_DEPENDS_OSX Darwin Contacts CoreGraphics CoreLocation Dispatch Foundation IOKit ObjectiveC # auto-updated
13+
os
814
SWIFT_MODULE_DEPENDS_IOS Darwin Contacts CoreLocation Dispatch Foundation ObjectiveC # auto-updated
15+
os
916
SWIFT_MODULE_DEPENDS_TVOS Darwin CoreLocation Dispatch Foundation ObjectiveC # auto-updated
17+
os
1018
SWIFT_MODULE_DEPENDS_WATCHOS Darwin CoreLocation Dispatch Foundation ObjectiveC # auto-updated
19+
os
1120
FRAMEWORK_DEPENDS_WEAK CloudKit
1221

1322
DEPLOYMENT_VERSION_OSX ${SWIFTLIB_DEPLOYMENT_VERSION_CLOUDKIT_OSX}

0 commit comments

Comments
 (0)