Brad King
7b19531291
macOS: Do not pass any SDK/-isysroot to compilers by default
...
On modern macOS, compiler wrappers like `/usr/bin/cc` automatically
choose a SDK to pass via `-isysroot` to an underlying compiler from
Xcode or the CommandLineTools. Other toolchains like Homebrew's `gcc-*`
come with a default SDK too. Therefore, when targeting macOS, we no
longer need to choose any SDK or pass an `-isysroot` flag by default.
Update initialization of `CMAKE_OSX_SYSROOT` to be empty by default when
targeting macOS.
Fixes : #19180
2024-11-07 09:46:10 -05:00
..
2022-11-08 10:07:10 -05:00
2022-11-08 10:07:10 -05:00
2023-12-13 10:20:43 -05:00
2022-11-08 10:07:10 -05:00
2023-05-19 12:10:20 +02:00
2022-11-08 10:07:10 -05:00
2022-11-08 10:07:10 -05:00
2022-11-08 10:07:10 -05:00
2023-12-13 10:20:43 -05:00
2024-11-07 09:46:10 -05:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-11-20 09:13:01 -05:00
2023-11-20 09:13:01 -05:00
2023-09-25 12:27:29 -04:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-09-25 12:27:29 -04:00
2023-05-19 12:10:20 +02:00
2023-09-25 12:27:29 -04:00
2023-09-25 12:27:29 -04:00
2023-05-19 12:10:20 +02:00
2022-11-08 10:07:10 -05:00
2023-05-19 12:10:20 +02:00
2024-11-04 17:08:03 +01:00
2024-11-04 17:08:03 +01:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2024-11-04 17:08:03 +01:00
2024-11-04 17:08:03 +01:00
2023-05-19 12:10:20 +02:00
2023-09-25 12:27:29 -04:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-09-25 12:27:29 -04:00
2020-07-06 11:40:39 -07:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-09-25 12:27:29 -04:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2022-11-08 10:07:10 -05:00
2023-09-25 12:27:29 -04:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-05-19 12:10:20 +02:00
2023-09-25 12:27:29 -04:00
2023-09-25 12:27:29 -04:00
2022-11-08 10:07:10 -05:00
2022-11-08 10:07:10 -05:00
2022-11-08 10:07:10 -05:00
2022-11-08 10:07:10 -05:00
2023-05-19 12:10:20 +02:00
2022-11-08 10:07:10 -05:00
2022-11-08 10:07:10 -05:00
2022-11-08 10:07:10 -05:00
2022-11-08 10:07:10 -05:00