Explorar o código

CMake: don't blacklist TARGET_OS_SIMULATOR for Metal configuration

https://github.com/libsdl-org/SDL/commit/7fa5e95b6284f2cc7855022c9f0c2b086dcee43f enabled it.
Ozkan Sezer %!s(int64=4) %!d(string=hai) anos
pai
achega
be41cf2dfe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -1903,7 +1903,7 @@ elseif(APPLE)
         #import <Metal/Metal.h>
         #import <Metal/Metal.h>
         #import <QuartzCore/CAMetalLayer.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
         #error Metal doesn't work on this configuration
         #endif
         #endif
         int main()
         int main()