mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-16 21:42:43 +00:00
fix: disable unused DataChannel media support
This commit is contained in:
@@ -837,18 +837,6 @@ if (SLIC3R_GUI)
|
||||
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)
|
||||
find_library(_ORCA_LIBJUICE_LIBRARY NAMES juice
|
||||
PATHS "${CMAKE_PREFIX_PATH}/lib" NO_DEFAULT_PATH)
|
||||
|
||||
Vendored
+3
-4
@@ -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
|
||||
# protocol is evolving independently of this transport dependency.
|
||||
orcaslicer_add_cmake_project(DataChannel
|
||||
@@ -7,9 +7,8 @@ orcaslicer_add_cmake_project(DataChannel
|
||||
-DNO_EXAMPLES=ON
|
||||
-DNO_TESTS=ON
|
||||
-DNO_WEBSOCKET=ON
|
||||
-DNO_MEDIA=OFF
|
||||
-DNO_MEDIA=ON
|
||||
-DUSE_NICE=OFF
|
||||
-DUSE_SYSTEM_SRTP=OFF
|
||||
-DUSE_SYSTEM_JUICE=OFF
|
||||
-DUSE_SYSTEM_USRSCTP=OFF
|
||||
-DOPENSSL_ROOT_DIR:PATH=${DESTDIR}
|
||||
@@ -18,4 +17,4 @@ orcaslicer_add_cmake_project(DataChannel
|
||||
GIT_TAG v0.22.2
|
||||
GIT_SHALLOW ON
|
||||
GIT_SUBMODULES_RECURSE ON
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user