فهرست منبع

macOS: Do not use the system iconv by default.

macOS 14 changes the iconv implementation which causes things to break, so we may as well match macOS with all the other platforms now.
Ethan Lee 2 سال پیش
والد
کامیت
7327fd734c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -152,7 +152,7 @@ endif()
 # Default option knobs
 # Default option knobs
 set(SDL_LIBC_DEFAULT ON)
 set(SDL_LIBC_DEFAULT ON)
 set(SDL_SYSTEM_ICONV_DEFAULT ON)
 set(SDL_SYSTEM_ICONV_DEFAULT ON)
-if(WINDOWS OR IOS OR TVOS OR VISIONOS OR WATCHOS)
+if(WINDOWS OR MACOS OR IOS OR TVOS OR VISIONOS OR WATCHOS)
   set(SDL_SYSTEM_ICONV_DEFAULT OFF)
   set(SDL_SYSTEM_ICONV_DEFAULT OFF)
 endif()
 endif()