• Brad King's avatar
    Swift: Honor CMAKE_OSX_SYSROOT on Apple platforms · c10c9f83
    Brad King authored
    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
    c10c9f83
Apple-Apple-Swift.cmake 37 Bytes