fix: always build bundled DataChannel dep

This commit is contained in:
Ian Chua
2026-09-16 22:04:27 +08:00
parent b4ab6dedfd
commit d264fcaef4
-4
View File
@@ -388,12 +388,8 @@ endif()
include(FFMPEG/FFMPEG.cmake) include(FFMPEG/FFMPEG.cmake)
include(Assimp/Assimp.cmake) include(Assimp/Assimp.cmake)
find_package(LibDataChannel QUIET)
set(DATACHANNEL_PKG "")
if (NOT LibDataChannel_FOUND)
include(DataChannel/DataChannel.cmake) include(DataChannel/DataChannel.cmake)
set(DATACHANNEL_PKG dep_DataChannel) set(DATACHANNEL_PKG dep_DataChannel)
endif()
# we don't want to load a "wrong" openssl when loading curl # we don't want to load a "wrong" openssl when loading curl
# so, just don't even bother # so, just don't even bother