mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:29:01 +02:00
Disable WebRTC on aarch64 Linux
This commit is contained in:
parent
88b0045258
commit
f03606ee60
3 changed files with 10 additions and 2 deletions
|
@ -13,6 +13,9 @@ macro(TARGET_WEBRTC)
|
||||||
# set(WEBRTC_LIBRARY_DEBUG ${INSTALL_DIR}/debug/lib/libwebrtc.a)
|
# set(WEBRTC_LIBRARY_DEBUG ${INSTALL_DIR}/debug/lib/libwebrtc.a)
|
||||||
# set(WEBRTC_LIBRARY_RELEASE ${INSTALL_DIR}/lib/libwebrtc.a)
|
# set(WEBRTC_LIBRARY_RELEASE ${INSTALL_DIR}/lib/libwebrtc.a)
|
||||||
# select_library_configurations(WEBRTC)
|
# select_library_configurations(WEBRTC)
|
||||||
|
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
|
||||||
|
# WebRTC is basically impossible to build on aarch64 Linux.
|
||||||
|
# I am looking at https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing for an alternative.
|
||||||
else()
|
else()
|
||||||
set(WEBRTC_INCLUDE_DIRS "${VCPKG_INSTALL_ROOT}/include/webrtc")
|
set(WEBRTC_INCLUDE_DIRS "${VCPKG_INSTALL_ROOT}/include/webrtc")
|
||||||
target_include_directories(${TARGET_NAME} SYSTEM PUBLIC ${WEBRTC_INCLUDE_DIRS})
|
target_include_directories(${TARGET_NAME} SYSTEM PUBLIC ${WEBRTC_INCLUDE_DIRS})
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Source: hifi-deps
|
Source: hifi-deps
|
||||||
Version: 0.1.5-github-actions
|
Version: 0.1.5-github-actions
|
||||||
Description: Collected dependencies for High Fidelity applications
|
Description: Collected dependencies for High Fidelity applications
|
||||||
Build-Depends: bullet3, draco, etc2comp, glad, glm, nvtt, openexr (!android), openssl (windows), opus, polyvox, tbb (!android), vhacd, webrtc (!android), zlib
|
Build-Depends: bullet3, draco, etc2comp, glad, glm, nvtt, openexr (!android), openssl (windows), opus, polyvox, tbb (!android), vhacd, webrtc (!android|!(linux&arm)), zlib
|
||||||
|
|
|
@ -23,9 +23,14 @@
|
||||||
// I don't yet have a working libwebrtc for android
|
// I don't yet have a working libwebrtc for android
|
||||||
// # define WEBRTC_ENABLED 1
|
// # define WEBRTC_ENABLED 1
|
||||||
// # define WEBRTC_POSIX 1
|
// # define WEBRTC_POSIX 1
|
||||||
#elif defined(Q_OS_LINUX)
|
#elif defined(Q_OS_LINUX) && defined(Q_PROCESSOR_X86_64)
|
||||||
# define WEBRTC_ENABLED 1
|
# define WEBRTC_ENABLED 1
|
||||||
# define WEBRTC_POSIX 1
|
# define WEBRTC_POSIX 1
|
||||||
|
#elif defined(Q_OS_LINUX) && defined(Q_PROCESSOR_ARM)
|
||||||
|
// WebRTC is basically impossible to build on aarch64 Linux.
|
||||||
|
// I am looking at https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing for an alternative.
|
||||||
|
// # define WEBRTC_ENABLED 1
|
||||||
|
// # define WEBRTC_POSIX 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WEBRTC_ENABLED)
|
#if defined(WEBRTC_ENABLED)
|
||||||
|
|
Loading…
Reference in a new issue