Skip to content

Commit

Permalink
bugfix: C++17 isn't specified when using the VisualCpp toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jun 26, 2024
1 parent e76286f commit 2a5edc8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ model {
cppCompiler.args "/I$javaHome/include"
cppCompiler.args "/I$javaHome/include/win32"
cppCompiler.args "/I$projectDir/src/main/native"
cppCompiler.args '/std:c++17'

if (isDebug) {
cppCompiler.args '/MTd' // to use LIBCMTD
Expand Down

0 comments on commit 2a5edc8

Please sign in to comment.