From 9ddce9b5fc8fff77c1c57988b98d87f390fe2ec3 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Thu, 4 Apr 2019 11:41:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84cmakelist.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 685c4162..b0c755b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,10 +39,10 @@ set(ENABLE_X264 true) #添加两个静态库 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") + add_definitions(-DENABLE_HLS) + set(MediaServer_Root ${CMAKE_SOURCE_DIR}/3rdpart/media-server) + set(LINK_LIB_LIST zlmediakit zltoolkit mpeg) else() set(LINK_LIB_LIST zlmediakit zltoolkit) endif()