mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-26 04:09:35 +03:00
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
2 lines
37 B
CMake
2 lines
37 B
CMake
set(CMAKE_Swift_SYSROOT_FLAG "-sdk")
|