From 705875f410653425dc1f8294c335d949935abc46 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Sun, 12 Jun 2022 18:27:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20dl=20=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index dd155379..1db883c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -290,6 +290,7 @@ if (ENABLE_FFMPEG) if (AVUTIL_FOUND AND AVCODEC_FOUND AND SWSCALE_FOUND AND SWRESAMPLE_FOUND) add_definitions(-DENABLE_FFMPEG) + list(APPEND LINK_LIB_LIST ${CMAKE_DL_LIBS}) else () set(ENABLE_FFMPEG off) message(WARNING "ffmpeg相关功能未找到")