mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
-import-underlying-module deliberately avoids autolinking against that module, since normally it's used when building the Swift half of a single binary. For the overlays, however, that's not what we want, so add the underlying framework explicitly. Swift SVN r29439
6 lines
206 B
CMake
6 lines
206 B
CMake
add_swift_library(swiftAVFoundation IS_SDK_OVERLAY
|
|
AVFoundation.swift
|
|
TARGET_SDKS OSX IOS IOS_SIMULATOR TVOS TVOS_SIMULATOR
|
|
SWIFT_MODULE_DEPENDS Foundation CoreMedia
|
|
FRAMEWORK_DEPENDS AVFoundation)
|