瀏覽代碼

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 1 年之前
父節點
當前提交
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()