mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-08 07:10:12 -05:00
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
This commit is contained in:
@@ -0,0 +1 @@
|
||||
set(CMAKE_Swift_SYSROOT_FLAG "-sdk")
|
||||
Reference in New Issue
Block a user