mirror of
https://github.com/VIKINGYFY/immortalwrt.git
synced 2025-12-16 17:15:26 +00:00
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>
23 lines
439 B
Diff
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"
|
|
|