mirror of https://github.com/encounter/SDL.git
CMake: don't blacklist TARGET_OS_SIMULATOR for Metal configuration
7fa5e95b62
enabled it.
This commit is contained in:
parent
97d4fe9433
commit
be41cf2dfe
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue