mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
完善cmakelist.txt
This commit is contained in:
parent
87afd61616
commit
9ddce9b5fc
@ -39,10 +39,10 @@ set(ENABLE_X264 true)
|
|||||||
|
|
||||||
#添加两个静态库
|
#添加两个静态库
|
||||||
if(ENABLE_HLS)
|
if(ENABLE_HLS)
|
||||||
set(LINK_LIB_LIST zlmediakit zltoolkit mpeg)
|
|
||||||
set(MediaServer_Root ${CMAKE_SOURCE_DIR}/3rdpart/media-server)
|
|
||||||
add_definitions(-DENABLE_HLS)
|
|
||||||
message(STATUS "ENABLE_HLS defined")
|
message(STATUS "ENABLE_HLS defined")
|
||||||
|
add_definitions(-DENABLE_HLS)
|
||||||
|
set(MediaServer_Root ${CMAKE_SOURCE_DIR}/3rdpart/media-server)
|
||||||
|
set(LINK_LIB_LIST zlmediakit zltoolkit mpeg)
|
||||||
else()
|
else()
|
||||||
set(LINK_LIB_LIST zlmediakit zltoolkit)
|
set(LINK_LIB_LIST zlmediakit zltoolkit)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user