mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-28 11:21:30 +00:00
fix: disable unused DataChannel media support
This commit is contained in:
@@ -837,18 +837,6 @@ if (SLIC3R_GUI)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT TARGET libSRTP::srtp2)
|
|
||||||
find_library(_ORCA_SRTP_LIBRARY NAMES srtp2
|
|
||||||
PATHS "${CMAKE_PREFIX_PATH}/lib" NO_DEFAULT_PATH)
|
|
||||||
if (_ORCA_SRTP_LIBRARY)
|
|
||||||
add_library(libSRTP::srtp2 UNKNOWN IMPORTED GLOBAL)
|
|
||||||
set_target_properties(libSRTP::srtp2 PROPERTIES
|
|
||||||
IMPORTED_LOCATION "${_ORCA_SRTP_LIBRARY}"
|
|
||||||
IMPORTED_LINK_INTERFACE_LANGUAGES C
|
|
||||||
INTERFACE_LINK_LIBRARIES "OpenSSL::Crypto")
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (NOT TARGET LibJuice::LibJuice)
|
if (NOT TARGET LibJuice::LibJuice)
|
||||||
find_library(_ORCA_LIBJUICE_LIBRARY NAMES juice
|
find_library(_ORCA_LIBJUICE_LIBRARY NAMES juice
|
||||||
PATHS "${CMAKE_PREFIX_PATH}/lib" NO_DEFAULT_PATH)
|
PATHS "${CMAKE_PREFIX_PATH}/lib" NO_DEFAULT_PATH)
|
||||||
|
|||||||
Vendored
+2
-3
@@ -1,4 +1,4 @@
|
|||||||
# libdatachannel is the native ICE/DTLS/SCTP/SRTP implementation used by the
|
# libdatachannel is the native ICE/DTLS/SCTP implementation used by the
|
||||||
# GUI WebRTC camera controller. Keep the source revision fixed: the signaling
|
# GUI WebRTC camera controller. Keep the source revision fixed: the signaling
|
||||||
# protocol is evolving independently of this transport dependency.
|
# protocol is evolving independently of this transport dependency.
|
||||||
orcaslicer_add_cmake_project(DataChannel
|
orcaslicer_add_cmake_project(DataChannel
|
||||||
@@ -7,9 +7,8 @@ orcaslicer_add_cmake_project(DataChannel
|
|||||||
-DNO_EXAMPLES=ON
|
-DNO_EXAMPLES=ON
|
||||||
-DNO_TESTS=ON
|
-DNO_TESTS=ON
|
||||||
-DNO_WEBSOCKET=ON
|
-DNO_WEBSOCKET=ON
|
||||||
-DNO_MEDIA=OFF
|
-DNO_MEDIA=ON
|
||||||
-DUSE_NICE=OFF
|
-DUSE_NICE=OFF
|
||||||
-DUSE_SYSTEM_SRTP=OFF
|
|
||||||
-DUSE_SYSTEM_JUICE=OFF
|
-DUSE_SYSTEM_JUICE=OFF
|
||||||
-DUSE_SYSTEM_USRSCTP=OFF
|
-DUSE_SYSTEM_USRSCTP=OFF
|
||||||
-DOPENSSL_ROOT_DIR:PATH=${DESTDIR}
|
-DOPENSSL_ROOT_DIR:PATH=${DESTDIR}
|
||||||
|
|||||||
Reference in New Issue
Block a user