This repository was archived by the owner on Dec 22, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +23
-9
lines changed Expand file tree Collapse file tree 2 files changed +23
-9
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ ExternalProject_Add(
6161 "${GOOGLEAPIS_CPP_SOURCE} /google/api/http.proto"
6262 "${GOOGLEAPIS_CPP_SOURCE} /google/api/annotations.proto"
6363 "${GOOGLEAPIS_CPP_SOURCE} /google/api/auth.proto"
64+ "${GOOGLEAPIS_CPP_SOURCE} /google/api/client.proto"
6465 "${GOOGLEAPIS_CPP_SOURCE} /google/api/resource.proto"
6566 "${GOOGLEAPIS_CPP_SOURCE} /google/type/expr.proto"
6667 "${GOOGLEAPIS_CPP_SOURCE} /google/rpc/error_details.proto"
@@ -148,6 +149,16 @@ target_link_libraries(googleapis_cpp_api_auth_protos
148149 PUBLIC googleapis-c++::api_annotations_protos
149150 PRIVATE googleapis_cpp_common_flags)
150151
152+ google_cloud_cpp_grpcpp_library(
153+ googleapis_cpp_api_client_protos
154+ "${GOOGLEAPIS_CPP_SOURCE} /google/api/client.proto"
155+ PROTO_PATH_DIRECTORIES
156+ "${GOOGLEAPIS_CPP_SOURCE} "
157+ "${PROTO_INCLUDE_DIR} " )
158+ googleapis_cpp_set_version_and_alias(api_client_protos)
159+ target_link_libraries (googleapis_cpp_api_client_protos
160+ PRIVATE googleapis_cpp_common_flags)
161+
151162google_cloud_cpp_grpcpp_library(
152163 googleapis_cpp_api_resource_protos
153164 "${GOOGLEAPIS_CPP_SOURCE} /google/api/resource.proto"
Original file line number Diff line number Diff line change 1+ # ~~~
12# Copyright 2019 Google LLC
23#
34# Licensed under the Apache License, Version 2.0 (the "License");
1112# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1213# See the License for the specific language governing permissions and
1314# limitations under the License.
15+ # ~~~
1416
1517include ("${CMAKE_CURRENT_LIST_DIR} /FindProtobufTargets.cmake" )
1618include ("${CMAKE_CURRENT_LIST_DIR} /FindgRPC.cmake" )
1719
1820include ("${CMAKE_CURRENT_LIST_DIR} /googleapis-targets.cmake" )
1921
2022foreach (_target
21- api_http
2223 api_annotations
2324 api_auth
24- rpc_status
25- rpc_error_details
26- longrunning_operations
27- iam_v1_policy
28- iam_v1_iam_policy
25+ api_client
26+ api_http
27+ api_resource
2928 bigtable
30- spanner)
29+ longrunning_operations
30+ rpc_error_details
31+ rpc_status
32+ spanner
33+ type_expr)
3134 set (scoped_name "googleapis-c++::${_target} _protos" )
3235 set (imported_name "googleapis_cpp_${_target} _protos" )
3336 add_library (${scoped_name} IMPORTED INTERFACE )
34- set_target_properties (${scoped_name} PROPERTIES
35- INTERFACE_LINK_LIBRARIES ${imported_name} )
37+ set_target_properties (${scoped_name}
38+ PROPERTIES INTERFACE_LINK_LIBRARIES ${imported_name} )
3639endforeach ()
You can’t perform that action at this time.
0 commit comments