blob: 0e29dedd9b403838d90f3db22a785a6b17993d75 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- 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