File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ model {
100100 all {
101101 if (toolChain in Gcc || toolChain in Clang ) {
102102 cppCompiler. define(" GRPC_VERSION" , version)
103- cppCompiler. args " --std=c++14 "
103+ cppCompiler. args " --std=c++17 "
104104 addEnvArgs(" CXXFLAGS" , cppCompiler. args)
105105 addEnvArgs(" CPPFLAGS" , cppCompiler. args)
106106 if (project. hasProperty(' buildUniversal' ) &&
@@ -130,7 +130,7 @@ model {
130130 } else if (toolChain in VisualCpp ) {
131131 usingVisualCpp = true
132132 cppCompiler. define(" GRPC_VERSION" , version)
133- cppCompiler. args " /EHsc" , " /MT"
133+ cppCompiler. args " /EHsc" , " /MT" , " /std:c++17 "
134134 if (rootProject. hasProperty(' vcProtobufInclude' )) {
135135 cppCompiler. args " /I${ rootProject.vcProtobufInclude} "
136136 }
You can’t perform that action at this time.
0 commit comments