Skip to content

Commit

Permalink
fix(compute): enable rest_internal if needed (#12096)
Browse files Browse the repository at this point in the history
If only the `compute` feature is enabled we need to manually enable
`rest_internal`.
  • Loading branch information
coryan authored Jul 14, 2023
1 parent c8a58a0 commit 08e52b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/GoogleCloudCppFeatures.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ function (google_cloud_cpp_enable_cleanup)

set(GOOGLE_CLOUD_CPP_ENABLE_REST OFF)
if ((storage IN_LIST GOOGLE_CLOUD_CPP_ENABLE)
OR (compute IN_LIST GOOGLE_CLOUD_CPP_ENABLE)
OR (experimental-bigquery_rest IN_LIST GOOGLE_CLOUD_CPP_ENABLE)
OR (experimental-opentelemetry IN_LIST GOOGLE_CLOUD_CPP_ENABLE)
OR (sql IN_LIST GOOGLE_CLOUD_CPP_ENABLE)
Expand Down

0 comments on commit 08e52b4

Please sign in to comment.