SDL: macOS: Do not use the system iconv by default.

From 7327fd734c5c9383d6779304417f613b8f53252a Mon Sep 17 00:00:00 2001
From: Ethan Lee <[EMAIL REDACTED]>
Date: Thu, 2 May 2024 19:50:04 -0400
Subject: [PATCH] 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.
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e81b9efd9f9cd..b8cd37904fea1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -152,7 +152,7 @@ endif()
 # Default option knobs
 set(SDL_LIBC_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)
 endif()