summaryrefslogtreecommitdiff
path: root/indra/cmake/WebRTC.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/WebRTC.cmake')
-rw-r--r--indra/cmake/WebRTC.cmake33
1 files changed, 33 insertions, 0 deletions
diff --git a/indra/cmake/WebRTC.cmake b/indra/cmake/WebRTC.cmake
index 030d3f4919..79d8d30991 100644
--- a/indra/cmake/WebRTC.cmake
+++ b/indra/cmake/WebRTC.cmake
@@ -19,6 +19,39 @@ if (CMAKE_OSX_ARCHITECTURES MATCHES arm64)
INPUT ${CMAKE_BINARY_DIR}/libwebrtc-macos-arm64.tar.xz
DESTINATION ${LIBS_PREBUILT_DIR}
)
+ file(MAKE_DIRECTORY ${LIBS_PREBUILT_DIR}/include/webrtc)
+ foreach(directory
+ api
+ audio
+ base
+ build
+ buildtools
+ call
+ common_audio
+ common_video
+ examples
+ logging
+ media
+ modules
+ net
+ p2p
+ pc
+ rtc_base
+ rtc_tools
+ sdk
+ stats
+ system_wrappers
+ test
+ testing
+ third_party
+ tools
+ video
+ )
+ file(RENAME
+ ${LIBS_PREBUILT_DIR}/include/${directory}
+ ${LIBS_PREBUILT_DIR}/include/webrtc/${directory}
+ )
+ endforeach()
file(RENAME
${LIBS_PREBUILT_DIR}/lib/libwebrtc.a
${LIBS_PREBUILT_DIR}/lib/release/libwebrtc.a