diff --git a/CMakeLists.txt b/CMakeLists.txt index b3a53a41..a3aa727b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -241,7 +241,7 @@ if (ENABLE_WEBRTC) include_directories(./webrtc) file(GLOB SRC_WEBRTC_LIST ./webrtc/*.cpp ./webrtc/*.h ./webrtc/*.hpp) add_library(webrtc ${SRC_WEBRTC_LIST}) - list(APPEND LINK_LIB_LIST webrtc) + list(PREPEND LINK_LIB_LIST webrtc) else () message(WARNING "srtp未找到, webrtc相关功能打开失败") endif ()