Skip to content

Conversation

@edymtt
Copy link
Contributor

@edymtt edymtt commented Oct 29, 2025

As per https://gitlab.kitware.com/cmake/cmake/-/commit/7b195312919cbf69497af2514b91b55bd9a6da71 CMake 4.0 does not pass -sdk to compiler invocations if the user does not provide CMAKE_OSX_SYSROOT -- this in turn causes failures in linking.

Addresses rdar://163672815

As per https://gitlab.kitware.com/cmake/cmake/-/commit/7b195312919cbf69497af2514b91b55bd9a6da71
CMake 4.0 does not pass `-sdk` to compiler invocations if the user does
not provide `CMAKE_OSX_SYSROOT` -- this in turn causes failures in
linking.

Addresses rdar://163672815
@edymtt
Copy link
Contributor Author

edymtt commented Oct 29, 2025

@swift-ci please smoke test

@edymtt
Copy link
Contributor Author

edymtt commented Oct 30, 2025

@swift-ci please smoke test Windows

@edymtt edymtt enabled auto-merge October 30, 2025 13:39
@edymtt
Copy link
Contributor Author

edymtt commented Oct 30, 2025

@swift-ci please smoke test Windows

@edymtt edymtt merged commit 020e690 into swiftlang:main Oct 31, 2025
3 checks passed
@edymtt edymtt deleted the edymtt/explicitly-set-cmake-osx-sysroot-in-macos-smoketest branch October 31, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants