File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -87,10 +87,12 @@ jobs:
87
87
- name : Build protobuf
88
88
if : steps.cache-protobuf.outputs.cache-hit != 'true'
89
89
working-directory : protobuf
90
+ # https://github.com/protocolbuffers/protobuf/blob/main/cmake/README.md#c-version
90
91
run : |
91
92
mkdir cmake_build
92
93
cd cmake_build
93
94
cmake \
95
+ -DCMAKE_CXX_STANDARD=14 \
94
96
-DCMAKE_BUILD_TYPE=Release \
95
97
-Dprotobuf_BUILD_TESTS=OFF \
96
98
-Dprotobuf_INSTALL=OFF \
Original file line number Diff line number Diff line change @@ -83,10 +83,12 @@ jobs:
83
83
- name : Build protobuf
84
84
if : steps.cache-protobuf.outputs.cache-hit != 'true'
85
85
working-directory : protobuf
86
+ # https://github.com/protocolbuffers/protobuf/blob/main/cmake/README.md#c-version
86
87
run : |
87
88
mkdir cmake_build
88
89
cd cmake_build
89
90
cmake \
91
+ -DCMAKE_CXX_STANDARD=14 \
90
92
-DCMAKE_BUILD_TYPE=Release \
91
93
-Dprotobuf_BUILD_TESTS=OFF \
92
94
-Dprotobuf_INSTALL=OFF \
You can’t perform that action at this time.
0 commit comments