修复编译问题

This commit is contained in:
xiongziliang 2019-04-01 13:30:00 +08:00
parent 437360f2d3
commit 33ff630e9b
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ else()
endif () endif ()
# #
set(LINK_LIB_LIST zlmediakit zltoolkit) set(LINK_LIB_LIST zlmediakit zltoolkit mpeg)
#openssl #openssl
find_package(OpenSSL QUIET) find_package(OpenSSL QUIET)

View File

@ -37,7 +37,7 @@ foreach(TEST_SRC ${TEST_SRC_LIST})
STRING(REGEX REPLACE "^\\./|\\.c[a-zA-Z0-9_]*$" "" TEST_EXE_NAME ${TEST_SRC}) STRING(REGEX REPLACE "^\\./|\\.c[a-zA-Z0-9_]*$" "" TEST_EXE_NAME ${TEST_SRC})
message(STATUS "add test:${TEST_EXE_NAME}") message(STATUS "add test:${TEST_EXE_NAME}")
add_executable(${TEST_EXE_NAME} ${TEST_SRC}) 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() endforeach()