1 Star 0 Fork 0

hzcc / czmq

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Findlz4.cmake 1.62 KB
一键复制 编辑 原始数据 按行查看 历史
################################################################################
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY #
# Read the zproject/README.md for information about making permanent changes. #
################################################################################
if (NOT MSVC)
include(FindPkgConfig)
pkg_check_modules(PC_LZ4 "liblz4")
if (PC_LZ4_FOUND)
# add CFLAGS from pkg-config file, e.g. draft api.
add_definitions(${PC_LZ4_CFLAGS} ${PC_LZ4_CFLAGS_OTHER})
# some libraries install the headers is a subdirectory of the include dir
# returned by pkg-config, so use a wildcard match to improve chances of finding
# headers and SOs.
set(PC_LZ4_INCLUDE_HINTS ${PC_LZ4_INCLUDE_DIRS} ${PC_LZ4_INCLUDE_DIRS}/*)
set(PC_LZ4_LIBRARY_HINTS ${PC_LZ4_LIBRARY_DIRS} ${PC_LZ4_LIBRARY_DIRS}/*)
endif(PC_LZ4_FOUND)
endif (NOT MSVC)
find_path (
LZ4_INCLUDE_DIRS
NAMES lz4.h
HINTS ${PC_LZ4_INCLUDE_HINTS}
)
find_library (
LZ4_LIBRARIES
NAMES liblz4 lz4
HINTS ${PC_LZ4_LIBRARY_HINTS}
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
LZ4
REQUIRED_VARS LZ4_LIBRARIES LZ4_INCLUDE_DIRS
)
mark_as_advanced(
LZ4_FOUND
LZ4_LIBRARIES LZ4_INCLUDE_DIRS
)
################################################################################
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY #
# Read the zproject/README.md for information about making permanent changes. #
################################################################################
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hwang_zc/czmq.git
git@gitee.com:hwang_zc/czmq.git
hwang_zc
czmq
czmq
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891