Skip to content

Commit

Permalink
Merge pull request #44 from AlexTMjugador/fix/build-on-warns
Browse files Browse the repository at this point in the history
Do not fail Assimp build from source if warnings are emitted
  • Loading branch information
Jhonny Knaak de Vargas authored May 6, 2024
2 parents 72b3bfd + 918cabb commit a1b5823
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ fn build_from_source() {
.define("ASSIMP_BUILD_ASSIMP_TOOLS", "OFF")
.define("ASSIMP_BUILD_TESTS", "OFF")
.define("ASSIMP_BUILD_ZLIB", build_zlib)
// Disable being overly strict with warnings, which can cause build issues
// such as: https://github.com/assimp/assimp/issues/5315
.define("ASSIMP_WARNINGS_AS_ERRORS", "OFF")
.define("LIBRARY_SUFFIX", "");

// Add compiler flags
Expand Down

0 comments on commit a1b5823

Please sign in to comment.