160-disable_xcode_generator.patch 471 B

12345678910111213141516171819202122
  1. --- a/Source/CMakeLists.txt
  2. +++ b/Source/CMakeLists.txt
  3. @@ -846,7 +846,7 @@ if(CMake_USE_XCOFF_PARSER)
  4. endif()
  5. # Xcode only works on Apple
  6. -if(APPLE)
  7. +if(APPLE_DISABLED)
  8. target_sources(
  9. CMakeLib
  10. PRIVATE
  11. --- a/Source/cmake.cxx
  12. +++ b/Source/cmake.cxx
  13. @@ -132,7 +132,7 @@
  14. # include "cmGlobalGhsMultiGenerator.h"
  15. #endif
  16. -#if defined(__APPLE__)
  17. +#if defined(__APPLE_DISABLED__)
  18. # if !defined(CMAKE_BOOTSTRAP)
  19. # include "cmGlobalXCodeGenerator.h"