Skip to content

Commit a1b5823

Browse files
author
Jhonny Knaak de Vargas
authored
Merge pull request #44 from AlexTMjugador/fix/build-on-warns
Do not fail Assimp build from source if warnings are emitted
2 parents 72b3bfd + 918cabb commit a1b5823

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: build.rs

+3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ fn build_from_source() {
8484
.define("ASSIMP_BUILD_ASSIMP_TOOLS", "OFF")
8585
.define("ASSIMP_BUILD_TESTS", "OFF")
8686
.define("ASSIMP_BUILD_ZLIB", build_zlib)
87+
// Disable being overly strict with warnings, which can cause build issues
88+
// such as: https://github.com/assimp/assimp/issues/5315
89+
.define("ASSIMP_WARNINGS_AS_ERRORS", "OFF")
8790
.define("LIBRARY_SUFFIX", "");
8891

8992
// Add compiler flags

0 commit comments

Comments
 (0)