mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-12-02 00:12:33 +08:00
支持在编译时开启/关闭部分特性
This commit is contained in:
parent
97c2297d2a
commit
ac320ddc09
@ -41,13 +41,13 @@ INCLUDE_DIRECTORIES(${ToolKit_Root})
|
|||||||
INCLUDE_DIRECTORIES(${MediaKit_Root})
|
INCLUDE_DIRECTORIES(${MediaKit_Root})
|
||||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/3rdpart)
|
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/3rdpart)
|
||||||
|
|
||||||
set(ENABLE_HLS true)
|
option(ENABLE_HLS "Enable HLS" true)
|
||||||
set(ENABLE_OPENSSL true)
|
option(ENABLE_OPENSSL "Enable OpenSSL" true)
|
||||||
set(ENABLE_MYSQL false)
|
option(ENABLE_MYSQL "Enable MySQL" false)
|
||||||
set(ENABLE_FAAC false)
|
option(ENABLE_FAAC "Enable FAAC" false)
|
||||||
set(ENABLE_X264 false)
|
option(ENABLE_X264 "Enable x264" false)
|
||||||
set(ENABLE_MP4 true)
|
option(ENABLE_MP4 "Enable MP4" true)
|
||||||
set(ENABLE_RTPPROXY true)
|
option(ENABLE_RTPPROXY "Enable RTPPROXY" true)
|
||||||
|
|
||||||
set(LINK_LIB_LIST zlmediakit zltoolkit)
|
set(LINK_LIB_LIST zlmediakit zltoolkit)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user