Files
Archive/lede/tools/cmake/patches/160-disable_xcode_generator.patch
T
2026-04-18 21:05:12 +02:00

23 lines
439 B
Diff

--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -903,7 +903,7 @@ if(CMake_USE_XCOFF_PARSER)
endif()
# Xcode only works on Apple
-if(APPLE)
+if(APPLE_DISABLED)
target_sources(
CMakeLib
PRIVATE
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -143,7 +143,7 @@
# endif
#endif
-#if defined(__APPLE__)
+#if defined(__APPLE_DISABLED__)
# if !defined(CMAKE_BOOTSTRAP)
# include "cmGlobalXCodeGenerator.h"