Skip to content

Commit a6ac11d

Browse files
committed
[Foundation] Manually add CoreGraphics dependency
This isn’t hardcoded into the dependency detection script anymore. (cherry picked from commit 22e0b4a)
1 parent 76e8155 commit a6ac11d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

stdlib/public/Darwin/Foundation/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,13 @@ add_swift_target_library(swiftFoundation ${SWIFT_SDK_OVERLAY_LIBRARY_BUILD_TYPES
7171
LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS}"
7272

7373
SWIFT_MODULE_DEPENDS_OSX Darwin CoreFoundation CoreGraphics Dispatch IOKit ObjectiveC # auto-updated
74+
CoreGraphics # imported in Swift
7475
SWIFT_MODULE_DEPENDS_IOS Darwin CoreFoundation CoreGraphics Dispatch ObjectiveC # auto-updated
76+
CoreGraphics # imported in Swift
7577
SWIFT_MODULE_DEPENDS_TVOS Darwin CoreFoundation CoreGraphics Dispatch ObjectiveC # auto-updated
78+
CoreGraphics # imported in Swift
7679
SWIFT_MODULE_DEPENDS_WATCHOS Darwin CoreFoundation CoreGraphics Dispatch ObjectiveC # auto-updated
80+
CoreGraphics # imported in Swift
7781
FRAMEWORK_DEPENDS Foundation
7882

7983
DEPLOYMENT_VERSION_OSX ${SWIFTLIB_DEPLOYMENT_VERSION_FOUNDATION_OSX}

0 commit comments

Comments
 (0)