b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- a/Source/CMakeLists.txt |
| 2 | +++ b/Source/CMakeLists.txt |
| 3 | @@ -858,7 +858,7 @@ if(CMake_USE_XCOFF_PARSER) |
| 4 | endif() |
| 5 | |
| 6 | # Xcode only works on Apple |
| 7 | -if(APPLE) |
| 8 | +if(APPLE_DISABLED) |
| 9 | target_sources( |
| 10 | CMakeLib |
| 11 | PRIVATE |
| 12 | --- a/Source/cmake.cxx |
| 13 | +++ b/Source/cmake.cxx |
| 14 | @@ -134,7 +134,7 @@ |
| 15 | # include "cmGlobalGhsMultiGenerator.h" |
| 16 | #endif |
| 17 | |
| 18 | -#if defined(__APPLE__) |
| 19 | +#if defined(__APPLE_DISABLED__) |
| 20 | # if !defined(CMAKE_BOOTSTRAP) |
| 21 | # include "cmGlobalXCodeGenerator.h" |
| 22 | |