From 146235befca73ca852b440841c7dc95a64c2d9b9 Mon Sep 17 00:00:00 2001 From: Andrew Naumov Date: Sun, 14 Jan 2024 17:19:23 +0100 Subject: [PATCH] Enable Objective-C ARC again Was broken in baf9b565fb6e519aef9eac96f934239237f9a725 --- src/FlyCube/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/FlyCube/CMakeLists.txt b/src/FlyCube/CMakeLists.txt index 236b21b3..84bdec9c 100644 --- a/src/FlyCube/CMakeLists.txt +++ b/src/FlyCube/CMakeLists.txt @@ -302,6 +302,10 @@ target_include_directories(FlyCube "${CMAKE_CURRENT_SOURCE_DIR}" ) +if (APPLE) + target_compile_options(FlyCube PUBLIC "-fobjc-arc") +endif() + if (BUILD_TESTING) add_subdirectory(HLSLCompiler/test) add_subdirectory(ShaderReflection/test)