CMake: don't blacklist TARGET_OS_SIMULATOR for Metal configuration

7fa5e95b62 enabled it.
This commit is contained in:
Ozkan Sezer 2021-07-08 21:20:02 +03:00
parent 97d4fe9433
commit be41cf2dfe
1 changed files with 1 additions and 1 deletions

View File

@ -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()