diff options
author | Eike Ziller <[email protected]> | 2025-04-30 08:43:49 +0200 |
---|---|---|
committer | Eike Ziller <[email protected]> | 2025-04-30 11:24:13 +0000 |
commit | fc5d289e7941d7e458ce8d003a0a4124ebfd4b29 (patch) | |
tree | c8ce6e0ffa65498a4c1b4a385f79e86cc20d3e30 /scripts/ninjawrapper.py | |
parent | 2234af0e6113622bcc819bc5e90ba7b7c2dd2fef (diff) |
macOS: Fix configuration issues with CMake 4 and later16.0
CMake 4 significantly changed its behavior with regards to setting up the
CMAKE_OSX_SYSROOT - it doesn't set it anymore, assuming that the
compiler will be from the command line tools /usr/bin/clang(++) which
set the sysroot to the latest macOS themselves. For details see
https://github.com/Kitware/CMake/commit/7b195312919cbf69
So it turns out that the choice for unification of the chosen compiler to
the Xcode.app ones (as detected from the iOS plugin) in
f49f9b43da38be4ec0f46fe6cd6930467c7444c1 bites back now.
On the contrary, deprioritize the Xcode.app compilers, so the /usr/bin
ones are used for Desktop kits. The auto-generated iOS kits keep
choosing the Xcode.app compilers and set their sysroot explicitly
already.
Fixes: QTCREATORBUG-32877
Change-Id: Ia8a4aab009d4d959743a27091217ea9b80811da0
Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'scripts/ninjawrapper.py')
0 files changed, 0 insertions, 0 deletions