1 Star 0 Fork 1

huth511/etcd-cpp-apiv3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
etcd-cpp-api-config.in.cmake 1.25 KB
一键复制 编辑 原始数据 按行查看 历史
# - Config file for the etcd-cpp-apiv3 package
#
# It defines the following variables
#
# ETCD_CPP_INCLUDE_DIR - include directory for etcd
# ETCD_CPP_INCLUDE_DIRS - include directories for etcd
# ETCD_CPP_LIBRARIES - libraries to link against
# find dependencies
include(CMakeFindDependencyMacro)
find_dependency(Protobuf)
find_package(gRPC QUIET)
if(NOT gRPC_FOUND)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
find_dependency(GRPC)
endif()
find_dependency(cpprestsdk)
if(cpprestsdk_FOUND)
set(CPPREST_LIB cpprestsdk::cpprest)
endif()
set(ETCD_CPP_HOME "${CMAKE_CURRENT_LIST_DIR}/../../..")
include("${CMAKE_CURRENT_LIST_DIR}/etcd-targets.cmake")
set(etcd-cpp-api_FOUND TRUE)
set(ETCD_CPP_LIBRARIES etcd-cpp-api)
set(ETCD_CPP_CORE_LIBRARIES etcd-cpp-api-core)
set(ETCD_CPP_INCLUDE_DIR "${ETCD_CPP_HOME}/include")
set(ETCD_CPP_INCLUDE_DIRS "${ETCD_CPP_INCLUDE_DIR}")
include(FindPackageMessage)
find_package_message(etcd
"Found etcd: ${CMAKE_CURRENT_LIST_FILE} (found version \"@etcd-cpp-api_VERSION@\")"
"etcd-cpp-apiv3 version: @etcd-cpp-api_VERSION@\netcd-cpp-apiv3 libraries: ${ETCD_CPP_LIBRARIES}, \netcd-cpp-apiv3 core libraries: ${ETCD_CPP_CORE_LIBRARIES}\ninclude directories: ${ETCD_CPP_INCLUDE_DIRS}"
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/huth511/etcd-cpp-apiv3.git
git@gitee.com:huth511/etcd-cpp-apiv3.git
huth511
etcd-cpp-apiv3
etcd-cpp-apiv3
master

搜索帮助