Skip to content

Commit 67bcadf

Browse files
committed
add google_cloud_cpp_storage_grpc to the patch
1 parent 0b39468 commit 67bcadf

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

cpp/cmake_modules/google-cloud-cpp-disable-install.patch

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,23 @@ index 8e69ad26b6..272fe3f100 100644
159159
if (BUILD_TESTING)
160160
add_library(
161161
storage_client_testing # cmake-format: sort
162+
diff --git a/google/cloud/storage/google_cloud_cpp_storage_grpc.cmake b/google/cloud/storage/google_cloud_cpp_storage_grpc.cmake
163+
index 680a771a8f..fcea826890 100644
164+
--- a/google/cloud/storage/google_cloud_cpp_storage_grpc.cmake
165+
+++ b/google/cloud/storage/google_cloud_cpp_storage_grpc.cmake
166+
@@ -192,6 +192,7 @@ endif ()
167+
add_library(google-cloud-cpp::experimental-storage_grpc ALIAS
168+
google_cloud_cpp_storage_grpc)
169+
170+
+ if(GOOGLE_CLOUD_CPP_ENABLE_INSTALL)
171+
google_cloud_cpp_add_pkgconfig(
172+
storage_grpc
173+
"The GCS (Google Cloud Storage) gRPC plugin"
174+
@@ -218,6 +219,7 @@ install(
175+
176+
google_cloud_cpp_install_headers(google_cloud_cpp_storage_grpc
177+
include/google/cloud/storage)
178+
+endif()
179+
180+
if (GOOGLE_CLOUD_CPP_WITH_MOCKS)
181+
# Create a header-only library for the mocks. We use a CMake `INTERFACE`

0 commit comments

Comments
 (0)