From 022c15d437aba149b1495532b1560de2a71b13df Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 5 Apr 2024 21:20:05 +0400 Subject: [PATCH] Revert "Remove Xcode 15 workaround, was fixed in 15.1." This reverts commit e48df0b2ce235cbaa6037c4d76e845543781e79b. New linker emits a lot of 'No platform load command found in' warnings for assembler modules in dav1d and ffmpeg. It defaults to 'macOS', so I think it's fine. --- options_mac.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/options_mac.cmake b/options_mac.cmake index 8279e4a5..09dea751 100644 --- a/options_mac.cmake +++ b/options_mac.cmake @@ -47,6 +47,11 @@ if (DESKTOP_APP_SPECIAL_TARGET) ) endif() +target_link_options_if_exists(common_options +INTERFACE + -Wl,-ld_classic +) + target_link_frameworks(common_options INTERFACE Cocoa