mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-12 19:24:22 +08:00
新增实例上报功能: #2294
This commit is contained in:
@@ -54,7 +54,7 @@ option(ENABLE_SCTP "Enable SCTP" ON)
|
||||
option(ENABLE_WEBRTC "Enable WebRTC" ON)
|
||||
option(ENABLE_X264 "Enable x264" OFF)
|
||||
option(ENABLE_WEPOLL "Enable wepoll" ON)
|
||||
|
||||
option(DISABLE_REPORT "Disable report to report.zlmediakit.com" off)
|
||||
option(USE_SOLUTION_FOLDERS "Enable solution dir supported" ON)
|
||||
|
||||
##############################################################################
|
||||
@@ -203,6 +203,10 @@ endif()
|
||||
update_cached_list(MK_LINK_LIBRARIES "")
|
||||
update_cached_list(MK_COMPILE_DEFINITIONS ENABLE_VERSION)
|
||||
|
||||
if (DISABLE_REPORT)
|
||||
update_cached_list(MK_COMPILE_DEFINITIONS DISABLE_REPORT)
|
||||
endif ()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
||||
include(CheckCXXSourceCompiles)
|
||||
file(READ ${CMAKE_CURRENT_SOURCE_DIR}/cmake/checks/atomic_check.cpp atomic_check_cpp)
|
||||
|
||||
Reference in New Issue
Block a user