Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.
# ~~~

cmake_minimum_required(VERSION 3.16...3.31)
cmake_minimum_required(VERSION 3.22...3.31)

# Define the project name and where to report bugs.
set(PACKAGE_BUGREPORT "https://github.com/googleapis/google-cloud-cpp/issues")
Expand Down
2 changes: 2 additions & 0 deletions ci/cloudbuild/dockerfiles/demo-alpine-stable.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

## [DONE packaging.md]

RUN apk update && apk add gdb

# Speed up the CI builds using sccache.
WORKDIR /var/tmp/sccache
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
Expand Down
3 changes: 3 additions & 0 deletions ci/cloudbuild/dockerfiles/demo-debian-bookworm.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

## [DONE packaging.md]

RUN apt-get update && \
apt-get --no-install-recommends install -y gdb

WORKDIR /var/tmp/sccache
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
Expand Down
15 changes: 12 additions & 3 deletions ci/cloudbuild/dockerfiles/demo-debian-bullseye.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ ARG NCPU=4
# ```bash
RUN apt-get update && \
apt-get --no-install-recommends install -y apt-transport-https apt-utils \
automake build-essential ca-certificates cmake curl git \
automake build-essential ca-certificates curl git \
gcc g++ libc-ares-dev libc-ares2 libcurl4-openssl-dev \
libssl-dev m4 make ninja-build pkg-config tar wget zlib1g-dev
# ```

# #### Install CMake v3.22
WORKDIR /var/tmp/build/cmake
RUN curl -fsSL https://github.com/Kitware/cmake/archive/v3.22.3.tar.gz | \
tar -xzf - --strip-components=1 && \
./bootstrap && make -j ${NCPU:-4} && make install

# #### Abseil

# ```bash
Expand Down Expand Up @@ -62,7 +68,7 @@ RUN apt-get update && \

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz | \

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This version string is hardcoded here and in several other Dockerfiles. To improve maintainability and simplify future updates, consider defining the protobuf version using an ARG instruction. This would allow the version to be updated in a single place within each file.

For example:

ARG PROTOBUF_VERSION=v33.1
# ...
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/${PROTOBUF_VERSION}.tar.gz | \
# ...

This change could be applied to all Dockerfiles modified in this PR.

tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -98,7 +104,7 @@ RUN curl -fsSL https://github.com/google/re2/archive/2025-07-22.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.74.1.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.76.0.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -144,6 +150,9 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

## [DONE packaging.md]

RUN apt-get update && \
apt-get --no-install-recommends install -y gdb

WORKDIR /var/tmp/sccache
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
Expand Down
2 changes: 2 additions & 0 deletions ci/cloudbuild/dockerfiles/demo-fedora.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

## [DONE packaging.md]

RUN dnf makecache && dnf install -y gdb

WORKDIR /var/tmp/sccache
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
Expand Down
3 changes: 3 additions & 0 deletions ci/cloudbuild/dockerfiles/demo-opensuse-leap.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

## [DONE packaging.md]

RUN zypper refresh && \
zypper install --allow-downgrade -y gdb

WORKDIR /var/tmp/sccache
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
Expand Down
6 changes: 4 additions & 2 deletions ci/cloudbuild/dockerfiles/demo-rockylinux-9.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.1.tar.gz |

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -133,7 +133,7 @@ RUN curl -fsSL https://github.com/google/re2/archive/2025-07-22.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.74.1.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.76.0.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_CXX_STANDARD=17 \
Expand Down Expand Up @@ -201,6 +201,8 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

## [DONE packaging.md]

RUN dnf makecache && dnf update -y && dnf install -y gdb

WORKDIR /var/tmp/sccache
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
Expand Down
3 changes: 3 additions & 0 deletions ci/cloudbuild/dockerfiles/demo-ubuntu-24.04.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

## [DONE packaging.md]

RUN apt-get update && \
apt-get --no-install-recommends install -y gdb

WORKDIR /var/tmp/sccache
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
Expand Down
7 changes: 5 additions & 2 deletions ci/cloudbuild/dockerfiles/demo-ubuntu-focal.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.1.tar.gz |

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -92,7 +92,7 @@ RUN curl -fsSL https://github.com/google/re2/archive/2025-07-22.tar.gz | \

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.74.1.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.76.0.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -160,6 +160,9 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

## [DONE packaging.md]

RUN apt-get update && \
apt-get --no-install-recommends install -y gdb

WORKDIR /var/tmp/sccache
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
Expand Down
7 changes: 5 additions & 2 deletions ci/cloudbuild/dockerfiles/demo-ubuntu-jammy.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250814.1.tar.gz |

# ```bash
WORKDIR /var/tmp/build/protobuf
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -73,7 +73,7 @@ RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz

# ```bash
WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.74.1.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.76.0.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -141,6 +141,9 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

## [DONE packaging.md]

RUN apt-get update && \
apt-get --no-install-recommends install -y gdb

WORKDIR /var/tmp/sccache
RUN curl -fsSL https://github.com/mozilla/sccache/releases/download/v0.10.0/sccache-v0.10.0-x86_64-unknown-linux-musl.tar.gz | \
tar -zxf - --strip-components=1 && \
Expand Down
4 changes: 2 additions & 2 deletions ci/cloudbuild/dockerfiles/fedora-latest-cmake.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ RUN curl -fsSL https://github.com/nlohmann/json/archive/v3.11.3.tar.gz | \
ldconfig && cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/protobuf
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -148,7 +148,7 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

WORKDIR /var/tmp/build/grpc
RUN dnf makecache && dnf install -y c-ares-devel re2-devel
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.74.1.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.76.0.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
4 changes: 2 additions & 2 deletions ci/cloudbuild/dockerfiles/fedora-latest-cxx20.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ RUN curl -fsSL https://github.com/nlohmann/json/archive/v3.11.3.tar.gz | \
cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/protobuf
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_CXX_STANDARD=20 \
Expand Down Expand Up @@ -157,7 +157,7 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24

WORKDIR /var/tmp/build/grpc
RUN dnf makecache && dnf install -y c-ares-devel re2-devel
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.74.1.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.76.0.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_CXX_STANDARD=20 \
Expand Down
4 changes: 2 additions & 2 deletions ci/cloudbuild/dockerfiles/gcc-oldest.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ RUN curl -fsSL https://github.com/google/benchmark/archive/v1.9.2.tar.gz | \
ldconfig && cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/protobuf
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -111,7 +111,7 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
ldconfig && cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.74.1.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.76.0.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
4 changes: 2 additions & 2 deletions ci/cloudbuild/dockerfiles/ubuntu-20.04-install.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ RUN curl -fsSL https://github.com/nlohmann/json/archive/v3.11.3.tar.gz | \


WORKDIR /var/tmp/build/protobuf
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
RUN curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -163,7 +163,7 @@ RUN curl -fsSL https://github.com/open-telemetry/opentelemetry-cpp/archive/v1.24
ldconfig && cd /var/tmp && rm -fr build

WORKDIR /var/tmp/build/grpc
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.74.1.tar.gz | \
RUN curl -fsSL https://github.com/grpc/grpc/archive/v1.76.0.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
21 changes: 14 additions & 7 deletions doc/packaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ Google Cloud Platform proto files:

```bash
mkdir -p $HOME/Downloads/protobuf && cd $HOME/Downloads/protobuf
curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -586,7 +586,7 @@ Platform proto files. We install it using:

```bash
mkdir -p $HOME/Downloads/grpc && cd $HOME/Downloads/grpc
curl -fsSL https://github.com/grpc/grpc/archive/v1.74.1.tar.gz | \
curl -fsSL https://github.com/grpc/grpc/archive/v1.76.0.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -790,11 +790,18 @@ Install the minimal development tools, libcurl, and OpenSSL:
```bash
sudo apt-get update && \
sudo apt-get --no-install-recommends install -y apt-transport-https apt-utils \
automake build-essential ca-certificates cmake curl git \
automake build-essential ca-certificates curl git \
gcc g++ libc-ares-dev libc-ares2 libcurl4-openssl-dev \
libssl-dev m4 make ninja-build pkg-config tar wget zlib1g-dev
```

#### Install CMake v3.22

mkdir -p $HOME/Downloads/cmake && cd $HOME/Downloads/cmake curl -fsSL
https://github.com/Kitware/cmake/archive/v3.22.3.tar.gz | \
tar -xzf - --strip-components=1 && \
./bootstrap && make -j ${NCPU:-4} && sudo make install

#### Abseil

```bash
Expand Down Expand Up @@ -831,7 +838,7 @@ to build from source:

```bash
mkdir -p $HOME/Downloads/protobuf && cd $HOME/Downloads/protobuf
curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -867,7 +874,7 @@ sudo ldconfig

```bash
mkdir -p $HOME/Downloads/grpc && cd $HOME/Downloads/grpc
curl -fsSL https://github.com/grpc/grpc/archive/v1.74.1.tar.gz | \
curl -fsSL https://github.com/grpc/grpc/archive/v1.76.0.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -1011,7 +1018,7 @@ install Protobuf (and any downstream packages) from source.

```bash
mkdir -p $HOME/Downloads/protobuf && cd $HOME/Downloads/protobuf
curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v31.1.tar.gz | \
curl -fsSL https://github.com/protocolbuffers/protobuf/archive/v33.1.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_BUILD_TYPE=Release \
Expand Down Expand Up @@ -1053,7 +1060,7 @@ install it using:

```bash
mkdir -p $HOME/Downloads/grpc && cd $HOME/Downloads/grpc
curl -fsSL https://github.com/grpc/grpc/archive/v1.74.1.tar.gz | \
curl -fsSL https://github.com/grpc/grpc/archive/v1.76.0.tar.gz | \
tar -xzf - --strip-components=1 && \
cmake \
-DCMAKE_CXX_STANDARD=17 \
Expand Down
2 changes: 1 addition & 1 deletion generator/internal/scaffold_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ void GenerateQuickstartCMake(
# This file shows how to use the $title$ C++ client library from a larger
# CMake project.

cmake_minimum_required(VERSION 3.10...3.24)
cmake_minimum_required(VERSION 3.22...3.31)
project(google-cloud-cpp-$library$-quickstart CXX)

find_package(google_cloud_cpp_$library$ REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/accessapproval/quickstart/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# This file shows how to use the Access Approval API C++ client library from a
# larger CMake project.

cmake_minimum_required(VERSION 3.10...3.24)
cmake_minimum_required(VERSION 3.22...3.31)
project(google-cloud-cpp-accessapproval-quickstart CXX)

find_package(google_cloud_cpp_accessapproval REQUIRED)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# This file shows how to use the Access Context Manager API C++ client library
# from a larger CMake project.

cmake_minimum_required(VERSION 3.10...3.24)
cmake_minimum_required(VERSION 3.22...3.31)
project(google-cloud-cpp-accesscontextmanager-quickstart CXX)

find_package(google_cloud_cpp_accesscontextmanager REQUIRED)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# This file shows how to use the Advisory Notifications API C++ client library
# from a larger CMake project.

cmake_minimum_required(VERSION 3.10...3.24)
cmake_minimum_required(VERSION 3.22...3.31)
project(google-cloud-cpp-advisorynotifications-quickstart CXX)

find_package(google_cloud_cpp_advisorynotifications REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/aiplatform/quickstart/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# This file shows how to use the Vertex AI API C++ client library from a larger
# CMake project.

cmake_minimum_required(VERSION 3.10...3.24)
cmake_minimum_required(VERSION 3.22...3.31)
project(google-cloud-cpp-aiplatform-quickstart CXX)

find_package(google_cloud_cpp_aiplatform REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/alloydb/quickstart/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# This file shows how to use the AlloyDB API C++ client library from a larger
# CMake project.

cmake_minimum_required(VERSION 3.10...3.24)
cmake_minimum_required(VERSION 3.22...3.31)
project(google-cloud-cpp-alloydb-quickstart CXX)

find_package(google_cloud_cpp_alloydb REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion google/cloud/apigateway/quickstart/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# This file shows how to use the API Gateway API C++ client library from a
# larger CMake project.

cmake_minimum_required(VERSION 3.10...3.24)
cmake_minimum_required(VERSION 3.22...3.31)
project(google-cloud-cpp-apigateway-quickstart CXX)

find_package(google_cloud_cpp_apigateway REQUIRED)
Expand Down
Loading