From 33ff630e9bd9496f7dfd9cf74e3bb5db9416133f Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Mon, 1 Apr 2019 13:30:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 2 +- tests/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2208221a..4b62f4bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ else() endif () #添加两个静态库 -set(LINK_LIB_LIST zlmediakit zltoolkit) +set(LINK_LIB_LIST zlmediakit zltoolkit mpeg) #查找openssl是否安装 find_package(OpenSSL QUIET) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 6985b30f..6301f927 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -37,7 +37,7 @@ foreach(TEST_SRC ${TEST_SRC_LIST}) STRING(REGEX REPLACE "^\\./|\\.c[a-zA-Z0-9_]*$" "" TEST_EXE_NAME ${TEST_SRC}) message(STATUS "add test:${TEST_EXE_NAME}") add_executable(${TEST_EXE_NAME} ${TEST_SRC}) - target_link_libraries(${TEST_EXE_NAME} mpeg ${LINK_LIB_LIST}) + target_link_libraries(${TEST_EXE_NAME} ${LINK_LIB_LIST}) endforeach()