ASR_BASE
Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/tools/cmake/patches/160-disable_xcode_generator.patch b/tools/cmake/patches/160-disable_xcode_generator.patch
new file mode 100644
index 0000000..0e29ded
--- /dev/null
+++ b/tools/cmake/patches/160-disable_xcode_generator.patch
@@ -0,0 +1,22 @@
+--- a/Source/CMakeLists.txt
++++ b/Source/CMakeLists.txt
+@@ -858,7 +858,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
+@@ -134,7 +134,7 @@
+ # include "cmGlobalGhsMultiGenerator.h"
+ #endif
+
+-#if defined(__APPLE__)
++#if defined(__APPLE_DISABLED__)
+ # if !defined(CMAKE_BOOTSTRAP)
+ # include "cmGlobalXCodeGenerator.h"
+