SDL: cmake: switch iOS and watchOS

From 9f83647aecc7be9a9be2d1356dc08e01c52f4919 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Mon, 8 Apr 2024 19:25:38 +0200
Subject: [PATCH] cmake: switch iOS and watchOS

---
 cmake/sdlplatform.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/sdlplatform.cmake b/cmake/sdlplatform.cmake
index d4af66631c4cb..76fb7586e2c40 100644
--- a/cmake/sdlplatform.cmake
+++ b/cmake/sdlplatform.cmake
@@ -11,9 +11,9 @@ macro(SDL_DetectCMakePlatform)
     elseif(CMAKE_SYSTEM_NAME MATCHES ".*tvOS.*")
       set(SDL_CMAKE_PLATFORM tvOS)
     elseif(CMAKE_SYSTEM_NAME MATCHES ".*iOS.*")
-      set(SDL_CMAKE_PLATFORM watchOS)
-    elseif(CMAKE_SYSTEM_NAME MATCHES ".*watchOS.*")
       set(SDL_CMAKE_PLATFORM iOS)
+    elseif(CMAKE_SYSTEM_NAME MATCHES ".*watchOS.*")
+      set(SDL_CMAKE_PLATFORM watchOS)
     elseif (CMAKE_SYSTEM_NAME MATCHES "visionOS")
       set(SDL_CMAKE_PLATFORM visionOS)
     else()