immortalwrt-VIKINGYFY/tools/cmake/patches/160-disable_xcode_generator.patch
Hannu Nyman 9ba24e0ee9
tools/cmake: update to 4.2.0
Update cmake to version 4.2.0
Release notes at https://cmake.org/cmake/help/v4.2/release/4.2.html

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Link: https://github.com/openwrt/openwrt/pull/20863
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-11-25 17:22:46 +01: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"