Skip to content

Swift: Use macOS-style linker flags on iOS, tvOS, and watchOS too

Brad King requested to merge brad.king/cmake:swift-ios into master

Without this, building a shared Swift library with CMAKE_SYSTEM_NAME=iOS produces the error ld: unknown option: -soname. iOS is an Apple platform, and so should use the -install_name option.

Migrated from GitHub PR 357.

Edited by Brad King

Merge request reports