SDL: Don't use the system iconv on Apple mobile platforms

From d6a48e4958e48e797c946ba231a6d025e636f77c Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 1 Feb 2024 15:53:27 -0800
Subject: [PATCH] Don't use the system iconv on Apple mobile platforms

Fixes https://github.com/libsdl-org/SDL/issues/8964
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8c2af335565e..9fe68734439b 100644
--- a/CMakeLists.txt
+++ b/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()