diff options
| author | Brad King <brad.king@kitware.com> | 2025-05-01 18:32:35 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2025-05-02 17:49:40 (GMT) |
| commit | bf1bb62e74affb8b95616cd079831e21791288b3 (patch) | |
| tree | 4617dfa2348a3cd53e10d8deffbb10e814c64df6 /Tests/FindPython/Python3Module | |
| parent | d15a37b4e88e65d1ecebb3491aeae45821520de6 (diff) | |
| download | CMake-bf1bb62e74affb8b95616cd079831e21791288b3.zip CMake-bf1bb62e74affb8b95616cd079831e21791288b3.tar.gz CMake-bf1bb62e74affb8b95616cd079831e21791288b3.tar.bz2 | |
macOS: Restore support for LLVM/Clang without explicit CMAKE_OSX_SYSROOT
In commit 7b19531291 (macOS: Do not pass any SDK/-isysroot to compilers
by default, 2024-11-06, v4.0.0-rc1~511^2) we broke support for using
upstream LLVM/Clang to build for macOS because the compiler has no
default sysroot. Handle empty `CMAKE_OSX_SYSROOT` with LLVM/Clang by
falling back to the macOS SDK reported by `xcrun --show-sdk-path` .
Fixes: #26863
Diffstat (limited to 'Tests/FindPython/Python3Module')
0 files changed, 0 insertions, 0 deletions
