diff options
author | Brad King <brad.king@kitware.com> | 2019-10-28 15:52:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-28 15:52:31 (GMT) |
commit | c10c9f839aca3f630212869ac6738963c0e3e77e (patch) | |
tree | f88594b96bd6738d99a3c176d30529da0ad08a10 /Modules/Platform/iOS.cmake | |
parent | 92780281c2e8a46223b262b152caa9c8329373b1 (diff) | |
download | CMake-c10c9f839aca3f630212869ac6738963c0e3e77e.zip CMake-c10c9f839aca3f630212869ac6738963c0e3e77e.tar.gz CMake-c10c9f839aca3f630212869ac6738963c0e3e77e.tar.bz2 |
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
Diffstat (limited to 'Modules/Platform/iOS.cmake')
0 files changed, 0 insertions, 0 deletions