mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复编译问题
This commit is contained in:
parent
437360f2d3
commit
33ff630e9b
@ -32,7 +32,7 @@ else()
|
||||
endif ()
|
||||
|
||||
#添加两个静态库
|
||||
set(LINK_LIB_LIST zlmediakit zltoolkit)
|
||||
set(LINK_LIB_LIST zlmediakit zltoolkit mpeg)
|
||||
|
||||
#查找openssl是否安装
|
||||
find_package(OpenSSL QUIET)
|
||||
|
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user