CMake: explicitly link with objc runtime on macOS;
@@ -569,6 +569,7 @@ if(WIN32)
move_dll(${LOVR_MSDF})
target_compile_definitions(lovr PRIVATE -DLOVR_GL)
elseif(APPLE)
+ target_link_libraries(lovr objc)
target_sources(lovr PRIVATE src/core/os_macos.c)
target_compile_definitions(lovr PRIVATE -DLOVR_GL)
if(LOVR_BUILD_BUNDLE)
