Skip to content

Commit

Permalink
Suppress C4275 on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Nov 23, 2023
1 parent fe98b35 commit 152dd76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shared/config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ nativeUtils.platformConfigs.each {
it.linker.args << "-headerpad_max_install_names"
} else if (it.name.contains('linux')) {
it.linker.args << '-Wl,-rpath,\'$ORIGIN\''
} else if (it.name.contains('windows')) {
it.cppCompiler.args << "/wd4275"
}
}

Expand Down

0 comments on commit 152dd76

Please sign in to comment.