mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-06 10:57:50 +08:00
Some checks failed
Android / build (push) Has been cancelled
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docker / build (push) Has been cancelled
Linux / build (push) Has been cancelled
macOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled
1. 最近提交的libavfilter相关的代码,没有充分测试cmake编译问题,提交了修正。 2. transcode内存在一个c++11的兼容性问题和运算符优先级问题,提交了修正。
17 lines
364 B
CMake
17 lines
364 B
CMake
find_path(Tcmalloc_INCLUDE_DIR
|
|
NAMES google/tcmalloc.h
|
|
)
|
|
|
|
find_library(Tcmalloc_LIBRARY
|
|
NAMES tcmalloc_minimal tcmalloc
|
|
)
|
|
|
|
set(TCMALLOC_LIBRARIES ${Tcmalloc_LIBRARY})
|
|
set(TCMALLOC_INCLUDE_DIRS ${Tcmalloc_INCLUDE_DIR})
|
|
|
|
INCLUDE(FindPackageHandleStandardArgs)
|
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TCMALLOC
|
|
DEFAULT_MSG
|
|
TCMALLOC_LIBRARIES TCMALLOC_INCLUDE_DIRS
|
|
)
|