Skip to content

Commit

Permalink
Maybe fix mac warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Dec 27, 2023
1 parent 7a68a06 commit 0d7210c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions shared/config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ model {
}
}

// NativeUtils adds the following OpenCV warning suppression for Linux, but not
// for macOS
// https://github.com/opencv/opencv/issues/20269
nativeUtils.platformConfigs.osxuniversal.cppCompiler.args.add("-Wno-deprecated-anon-enum-enum-conversion")

nativeUtils.platformConfigs.linuxathena.linker.args.add("-Wl,--fatal-warnings")


task copyAllOutputs(type: Copy) {
def outputsFolder = file("$project.buildDir/outputs")
Expand Down

0 comments on commit 0d7210c

Please sign in to comment.