CI/iOS: handle CMAKE_SYSTEM_NAME=iOS in detect_operating_system

The iOS job's CMake configure failed at cmake/Pcsx2Utils.cmake:20 with
'Unsupported platform.' — the platform dispatch had branches for Windows,
macOS (APPLE AND NOT IOS), Linux and BSD but none for iOS, so an iOS
configure fell through to FATAL_ERROR. Add an 'APPLE AND IOS' branch ahead
of the macOS one. Desktop builds are unaffected (IOS is false there).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Brian Degenhardt
2026-07-12 13:34:46 -07:00
co-authored by Claude Opus 4.8
parent 10cee0abe8
commit 75d04e4ef5
+2
View File
@@ -11,6 +11,8 @@ function(detect_operating_system)
if(WIN32)
message(STATUS "Building for Windows.")
elseif(APPLE AND IOS)
message(STATUS "Building for iOS.")
elseif(APPLE AND NOT IOS)
message(STATUS "Building for MacOS.")
elseif(LINUX)