From ea56cee80f441973a0149b57604e7a7874c61b65 Mon Sep 17 00:00:00 2001 From: Ye Cao Date: Fri, 2 Aug 2024 22:47:25 +0800 Subject: [PATCH] Fix install error (#277) Signed-off-by: Ye Cao --- CMakeLists.txt | 2 ++ etcd/Response.hpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee447c1..7c3c265 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -252,6 +252,7 @@ if(NOT BUILD_ETCD_CORE_ONLY) endif() install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/etcd/v3/action_constants.hpp ${CMAKE_CURRENT_SOURCE_DIR}/etcd/v3/Transaction.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/etcd/v3/Member.hpp DESTINATION include/etcd/v3) configure_file(etcd-cpp-api-config.in.cmake @@ -337,6 +338,7 @@ set(CPACK_DEBIAN_PACKAGE_INSTALL "/usr/lib/lib*.so*" "/usr/include/etcd/*.hpp" "/usr/include/etcd/v3/action_constants.hpp" "/usr/include/etcd/v3/Transaction.hpp" + "/usr/include/etcd/v3/Member.hpp" ) set(CPACK_DEBIAN_PACKAGE_BUILD_NUMBER_PREFIX "") diff --git a/etcd/Response.hpp b/etcd/Response.hpp index 7e0912b..a4c879f 100644 --- a/etcd/Response.hpp +++ b/etcd/Response.hpp @@ -10,7 +10,6 @@ #include "etcd/Value.hpp" #include "etcd/v3/Member.hpp" -#include "rpc.pb.h" namespace etcdv3 { class AsyncWatchAction;