Browse Source

Don't use the system iconv on Apple mobile platforms

Fixes https://github.com/libsdl-org/SDL/issues/8964
Sam Lantinga 1 năm trước cách đây
mục cha
commit
d6a48e4958
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

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