Skip to content

Commit

Permalink
C++ standards should apply to all platforms..... (#1283)
Browse files Browse the repository at this point in the history
Fixes CI.
  • Loading branch information
prbprbprb authored Jan 7, 2025
1 parent a1e04b4 commit effcd12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions constants/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit effcd12

Please sign in to comment.