This commit is contained in:
lizzie 2026-02-23 02:55:16 +00:00
parent 63ba079494
commit b79d4f80b3

View file

@ -203,8 +203,8 @@ else()
)
elseif(IOS)
execute_process(COMMAND xcrun --sdk iphoneos --show-sdk-path OUTPUT_VARIABLE SYSROOT)
set(FFmpeg_CC "xcrun --sdk iphoneos clang -arch arm64")
set(FFmpeg_CXX "xcrun --sdk iphoneos clang++ -arch arm64")
set(FFmpeg_CC xcrun --sdk iphoneos clang -arch arm64)
set(FFmpeg_CXX xcrun --sdk iphoneos clang++ -arch arm64)
list(APPEND FFmpeg_CROSS_COMPILE_FLAGS
--arch=arm64
--enable-cross-compile