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 #import - #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()