summaryrefslogtreecommitdiff
path: root/indra/cmake/WebRTC.cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-15 14:09:20 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-15 14:09:20 +0800
commita8308c46de81023d56a9e4b152290719a2d9c900 (patch)
tree371187d28abb006829c211b168598e7d10944ce7 /indra/cmake/WebRTC.cmake
parent83e52c4cf435e54fae2f316359e22776a1032089 (diff)
Remove old arm64 WebRTC.framework before copying
Still triggered by upstream autobuild.xml even though there is actually no need to update on macOS arm64's side.
Diffstat (limited to 'indra/cmake/WebRTC.cmake')
-rw-r--r--indra/cmake/WebRTC.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/cmake/WebRTC.cmake b/indra/cmake/WebRTC.cmake
index 1481276d5d..e9e679fa80 100644
--- a/indra/cmake/WebRTC.cmake
+++ b/indra/cmake/WebRTC.cmake
@@ -23,6 +23,7 @@ if (CMAKE_OSX_ARCHITECTURES MATCHES arm64)
${LIBS_PREBUILT_DIR}/lib/libwebrtc.a
${LIBS_PREBUILT_DIR}/lib/release/libwebrtc.a
)
+ file(REMOVE_RECURSE ${LIBS_PREBUILT_DIR}/Frameworks/WebRTC.xcframework/macos-arm64/WebRTC.framework)
file(RENAME
${LIBS_PREBUILT_DIR}/Frameworks/WebRTC.xcframework/macos-arm64/WebRTC.framework
${LIBS_PREBUILT_DIR}/lib/release/WebRTC.framework