修复: 升级框架并完善报告导出
- 升级 Drogon 和 Trantor,修复畸形请求导致的连接计数泄漏\n- 增加第三方框架版本校验与自动重建\n- 完善完整报告导出和接口文档
This commit is contained in:
@@ -10,6 +10,22 @@
|
||||
# false, do not try to use jsoncpp.
|
||||
# Jsoncpp_lib - The imported target library.
|
||||
|
||||
# On Apple Silicon Macs, Homebrew installs to /opt/homebrew instead of
|
||||
# /usr/local (Intel Macs). Detect the prefix dynamically so cmake finds
|
||||
# dependencies regardless of Mac architecture.
|
||||
if(APPLE)
|
||||
execute_process(
|
||||
COMMAND brew --prefix jsoncpp
|
||||
OUTPUT_VARIABLE HOMEBREW_JSONCPP_PREFIX
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
ERROR_QUIET
|
||||
)
|
||||
if(HOMEBREW_JSONCPP_PREFIX)
|
||||
list(APPEND CMAKE_PREFIX_PATH ${HOMEBREW_JSONCPP_PREFIX})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
# only look in default directories
|
||||
find_path(JSONCPP_INCLUDE_DIRS
|
||||
NAMES json/json.h
|
||||
|
||||
Reference in New Issue
Block a user