Skip to content

Commit 830aed9

Browse files
committed
Update protobuf build based on current cmake docs.
1 parent 4782e2f commit 830aed9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,12 @@ jobs:
8787
- name: Build protobuf
8888
if: steps.cache-protobuf.outputs.cache-hit != 'true'
8989
working-directory: protobuf
90+
# https://github.com/protocolbuffers/protobuf/blob/main/cmake/README.md#c-version
9091
run: |
9192
mkdir cmake_build
9293
cd cmake_build
9394
cmake \
95+
-DCMAKE_CXX_STANDARD=14 \
9496
-DCMAKE_BUILD_TYPE=Release \
9597
-Dprotobuf_BUILD_TESTS=OFF \
9698
-Dprotobuf_INSTALL=OFF \

.github/workflows/regular_conformance.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,12 @@ jobs:
8383
- name: Build protobuf
8484
if: steps.cache-protobuf.outputs.cache-hit != 'true'
8585
working-directory: protobuf
86+
# https://github.com/protocolbuffers/protobuf/blob/main/cmake/README.md#c-version
8687
run: |
8788
mkdir cmake_build
8889
cd cmake_build
8990
cmake \
91+
-DCMAKE_CXX_STANDARD=14 \
9092
-DCMAKE_BUILD_TYPE=Release \
9193
-Dprotobuf_BUILD_TESTS=OFF \
9294
-Dprotobuf_INSTALL=OFF \

0 commit comments

Comments
 (0)