完善cmakelist.txt

This commit is contained in:
xiongziliang 2019-04-04 11:41:51 +08:00
parent 87afd61616
commit 9ddce9b5fc

View File

@ -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()