Skip to content

Commit 22e0b4a

Browse files
committed
[Foundation] Manually add CoreGraphics dependency
This isn’t hardcoded into the dependency detection script anymore.
1 parent 7792d4c commit 22e0b4a

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
@@ -73,9 +73,13 @@ add_swift_target_library(swiftFoundation ${SWIFT_SDK_OVERLAY_LIBRARY_BUILD_TYPES
7373
LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS}"
7474

7575
SWIFT_MODULE_DEPENDS_OSX Darwin CoreFoundation CoreGraphics Dispatch IOKit ObjectiveC # auto-updated
76+
CoreGraphics # imported in Swift
7677
SWIFT_MODULE_DEPENDS_IOS Darwin CoreFoundation CoreGraphics Dispatch ObjectiveC # auto-updated
78+
CoreGraphics # imported in Swift
7779
SWIFT_MODULE_DEPENDS_TVOS Darwin CoreFoundation CoreGraphics Dispatch ObjectiveC # auto-updated
80+
CoreGraphics # imported in Swift
7881
SWIFT_MODULE_DEPENDS_WATCHOS Darwin CoreFoundation CoreGraphics Dispatch ObjectiveC # auto-updated
82+
CoreGraphics # imported in Swift
7983
FRAMEWORK_DEPENDS Foundation
8084

8185
DEPLOYMENT_VERSION_OSX ${SWIFTLIB_DEPLOYMENT_VERSION_FOUNDATION_OSX}

0 commit comments

Comments
 (0)