Commit c10c9f83 authored by Brad King's avatar Brad King

Swift: Honor CMAKE_OSX_SYSROOT on Apple platforms

Pass the value to the Swift compiler driver via `-sdk`.  We already do
this for C/C++ via `-isysroot`.

This fixes command-line builds on macOS 10.15 with Xcode 11 Swift tools.

Fixes: #19880
parent 92780281
set(CMAKE_Swift_SYSROOT_FLAG "-sdk")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment