diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-08-28 09:31:13 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-08-28 09:31:13 +0800 |
commit | df25a5d487a566393edded0cf61cff157a2fd40d (patch) | |
tree | ddc7d2515d48a4a678313af2c74297263e59b25b /indra | |
parent | 19c999dedbb587b070d777f6ff1a1c6cc6f65bf2 (diff) |
Fix WebRTC include dirs extracted to wrong path
for macOS arm64.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/cmake/WebRTC.cmake | 33 |
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 |