From 5a1b90c7f300fea6fecc989e3e5072eeddb56856 Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Sat, 30 Jul 2022 01:00:10 -0500 Subject: [PATCH] VideoBackends:Metal: Explicitly disable arc Makes it easier to enable arc elsewhere without breaking the Metal backend --- Source/Core/VideoBackends/Metal/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/VideoBackends/Metal/CMakeLists.txt b/Source/Core/VideoBackends/Metal/CMakeLists.txt index 698ed2678b..7be576f52a 100644 --- a/Source/Core/VideoBackends/Metal/CMakeLists.txt +++ b/Source/Core/VideoBackends/Metal/CMakeLists.txt @@ -39,3 +39,5 @@ PRIVATE ${METAL_LIBRARY} ${QUARTZCORE_LIBRARY} ) + +target_compile_options(videometal PRIVATE -fno-objc-arc)