summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-31 15:07:51 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-31 15:07:51 +0800
commite012d5116ec19bd37f833b951960771e33b77e42 (patch)
tree51380542c6aeec3442c3d7c29e741c56f10920ac
parent07bd37da5f7c22e0b5c2795e26d821639b0c9823 (diff)
Make sure webrtc gets emptied before refilling it
on macOS arm64, the header directory.
-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 79d8d30991..92d9d135c6 100644
--- a/indra/cmake/WebRTC.cmake
+++ b/indra/cmake/WebRTC.cmake
@@ -19,6 +19,7 @@ if (CMAKE_OSX_ARCHITECTURES MATCHES arm64)
INPUT ${CMAKE_BINARY_DIR}/libwebrtc-macos-arm64.tar.xz
DESTINATION ${LIBS_PREBUILT_DIR}
)
+ file(REMOVE_RECURSE ${LIBS_PREBUILT_DIR}/include/webrtc)
file(MAKE_DIRECTORY ${LIBS_PREBUILT_DIR}/include/webrtc)
foreach(directory
api