[Cmake-commits] CMake branch, master, updated. v3.16.0-rc2-157-gc5e22dfaea
Kitware Robot
kwrobot at kitware.com
Tue Oct 29 11:15:37 EDT 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via c5e22dfaea47b81ae2c354254bd696cd218297fb (commit)
via c10c9f839aca3f630212869ac6738963c0e3e77e (commit)
from e90f6bacd5e237716dc6e211fe9d22e5e57fd5d8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c5e22dfaea47b81ae2c354254bd696cd218297fb
commit c5e22dfaea47b81ae2c354254bd696cd218297fb
Merge: e90f6bacd5 c10c9f839a
Author: Brad King <brad.king at kitware.com>
AuthorDate: Tue Oct 29 15:15:00 2019 +0000
Commit: Kitware Robot <kwrobot at kitware.com>
CommitDate: Tue Oct 29 11:15:09 2019 -0400
Merge topic 'swift-sdk-on-mac'
c10c9f839a Swift: Honor CMAKE_OSX_SYSROOT on Apple platforms
Acked-by: Kitware Robot <kwrobot at kitware.com>
Merge-request: !3957
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c10c9f839aca3f630212869ac6738963c0e3e77e
commit c10c9f839aca3f630212869ac6738963c0e3e77e
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Oct 28 11:52:31 2019 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Mon Oct 28 11:52:31 2019 -0400
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
diff --git a/Modules/Platform/Apple-Apple-Swift.cmake b/Modules/Platform/Apple-Apple-Swift.cmake
new file mode 100644
index 0000000000..7ca3e36e9f
--- /dev/null
+++ b/Modules/Platform/Apple-Apple-Swift.cmake
@@ -0,0 +1 @@
+set(CMAKE_Swift_SYSROOT_FLAG "-sdk")
-----------------------------------------------------------------------
Summary of changes:
Modules/Platform/Apple-Apple-Swift.cmake | 1 +
1 file changed, 1 insertion(+)
create mode 100644 Modules/Platform/Apple-Apple-Swift.cmake
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list