File tree 1 file changed +2
-1
lines changed
content/en/docs/languages/cpp
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ The following commands build and locally install gRPC and Protocol Buffers:
140
140
pushd cmake/build
141
141
cmake -DgRPC_INSTALL=ON \
142
142
-DgRPC_BUILD_TESTS=OFF \
143
+ -DCMAKE_CXX_STANDARD=17 \
143
144
-DCMAKE_INSTALL_PREFIX=$MY_INSTALL_DIR \
144
145
../..
145
146
make -j 4
@@ -152,7 +153,7 @@ The following commands build and locally install gRPC and Protocol Buffers:
152
153
``` powershell
153
154
mkdir "cmake\build"
154
155
pushd "cmake\build"
155
- cmake -DgRPC_INSTALL=ON -DCMAKE_INSTALL_PREFIX=%MY_INSTALL_DIR% -DgRPC_BUILD_TESTS=OFF ..\..
156
+ cmake -DgRPC_INSTALL=ON -DgRPC_BUILD_TESTS=OFF -DCMAKE_CXX_STANDARD=17 - DCMAKE_INSTALL_PREFIX=%MY_INSTALL_DIR% ..\..
156
157
cmake --build . --config Release --target install -j 4
157
158
popd
158
159
```
You can’t perform that action at this time.
0 commit comments