diff options
author | Carlos O'Ryan <coryan@users.noreply.github.com> | 2019-08-15T13·48-0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-15T13·48-0400 |
commit | 36a7ebbe184e126296fffb302a14ee744458039a (patch) | |
tree | 548c09bfefbdff56c94b023fea314f04335f8fee /CMakeLists.txt | |
parent | 8c2add05fa9f3cf83ff7acfba61090d07e67f6fc (diff) | |
parent | 22b90b89b9f33d394b26b0b03655a7325c598de6 (diff) |
Merge pull request #13 from coryan/fix-missing-exports
feat: Add library for api/client.proto.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0914a89bb8d7..37c38002e227 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,6 +61,7 @@ ExternalProject_Add( "${GOOGLEAPIS_CPP_SOURCE}/google/api/http.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/api/annotations.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/api/auth.proto" + "${GOOGLEAPIS_CPP_SOURCE}/google/api/client.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/api/resource.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/type/expr.proto" "${GOOGLEAPIS_CPP_SOURCE}/google/rpc/error_details.proto" @@ -149,6 +150,16 @@ target_link_libraries(googleapis_cpp_api_auth_protos PRIVATE googleapis_cpp_common_flags) google_cloud_cpp_grpcpp_library( + googleapis_cpp_api_client_protos + "${GOOGLEAPIS_CPP_SOURCE}/google/api/client.proto" + PROTO_PATH_DIRECTORIES + "${GOOGLEAPIS_CPP_SOURCE}" + "${PROTO_INCLUDE_DIR}") +googleapis_cpp_set_version_and_alias(api_client_protos) +target_link_libraries(googleapis_cpp_api_client_protos + PRIVATE googleapis_cpp_common_flags) + +google_cloud_cpp_grpcpp_library( googleapis_cpp_api_resource_protos "${GOOGLEAPIS_CPP_SOURCE}/google/api/resource.proto" PROTO_PATH_DIRECTORIES |