diff --git a/CMakeLists.txt b/CMakeLists.txt index 78b61cf1..451baeba 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(PREPEND LINK_LIB_LIST webrtc) + list(APPEND LINK_LIB_LIST webrtc) else () message(WARNING "srtp未找到, webrtc相关功能打开失败") endif ()