From 2e0e992f44f16d3dbbde5b8458a32adfcab716b3 Mon Sep 17 00:00:00 2001 From: Scott Hart Date: Tue, 29 Aug 2023 12:41:20 -0400 Subject: [PATCH] cmake fixes --- google/cloud/policytroubleshooter/CMakeLists.txt | 5 ++++- google/cloud/policytroubleshooter/config.cmake.in | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/google/cloud/policytroubleshooter/CMakeLists.txt b/google/cloud/policytroubleshooter/CMakeLists.txt index 46403a5910e0b..a00c156e9a724 100644 --- a/google/cloud/policytroubleshooter/CMakeLists.txt +++ b/google/cloud/policytroubleshooter/CMakeLists.txt @@ -16,7 +16,10 @@ include(GoogleCloudCppLibrary) -set(GOOGLE_CLOUD_CPP_SERVICE_DIRS "" "v1/") +set(GOOGLE_CLOUD_CPP_SERVICE_DIRS "" "v1/" "iam/v3/") + +set(GOOGLE_CLOUD_CPP_DOXYGEN_EXTRA_INCLUDES + "${PROJECT_BINARY_DIR}/google/cloud/iam_policy") google_cloud_cpp_add_ga_grpc_library(policytroubleshooter "Policy Troubleshooter API") diff --git a/google/cloud/policytroubleshooter/config.cmake.in b/google/cloud/policytroubleshooter/config.cmake.in index 09503632e5492..a0c0cd0b37214 100644 --- a/google/cloud/policytroubleshooter/config.cmake.in +++ b/google/cloud/policytroubleshooter/config.cmake.in @@ -14,6 +14,7 @@ include(CMakeFindDependencyMacro) # google_cloud_cpp_googleapis finds both gRPC and Protobuf, no need to load them here. +find_dependency(google_cloud_cpp_iam_policy) find_dependency(google_cloud_cpp_googleapis) find_dependency(google_cloud_cpp_common) find_dependency(google_cloud_cpp_grpc_utils)