SDL: CMake: don't blacklist TARGET_OS_SIMULATOR for Metal configuration

From be41cf2dfe28556e44b7222a0f9214674080aab0 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Thu, 8 Jul 2021 21:20:02 +0300
Subject: [PATCH] CMake: don't blacklist TARGET_OS_SIMULATOR for Metal
 configuration

https://github.com/libsdl-org/SDL/commit/7fa5e95b6284f2cc7855022c9f0c2b086dcee43f enabled it.
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 947e53641..07da97ad6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1903,7 +1903,7 @@ elseif(APPLE)
         #import <Metal/Metal.h>
         #import <QuartzCore/CAMetalLayer.h>
 
-        #if TARGET_OS_SIMULATOR || (!TARGET_CPU_X86_64 && !TARGET_CPU_ARM64)
+        #if (!TARGET_CPU_X86_64 && !TARGET_CPU_ARM64)
         #error Metal doesn't work on this configuration
         #endif
         int main()