diff --git a/constants/build.gradle b/constants/build.gradle index 40a744536..8f6c4593f 100644 --- a/constants/build.gradle +++ b/constants/build.gradle @@ -36,6 +36,7 @@ model { binaries.all { if (toolChain in VisualCpp) { cppCompiler.define "WIN32_LEAN_AND_MEAN" + cppCompiler.args "/std:c++17" } else if (toolChain in Clang || toolChain in Gcc) { cppCompiler.args "-std=c++17" }