Skip to content

Commit

Permalink
Attempt to fix Assimp Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
Perksey committed Nov 1, 2024
1 parent cbabce7 commit 401a905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/nuke/Native/Assimp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ partial class Build {
var buildDir = AssimpPath / "build";
var runtimes = RootDirectory / "src" / "Native" / "Silk.NET.Assimp.Native" / "runtimes";

var prepare = "cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DASSIMP_WARNINGS_AS_ERRORS=OFF -DASSIMP_BUILD_TESTS=OFF";
var prepare = "cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DASSIMP_BUILD_ZLIB=ON -DASSIMP_WARNINGS_AS_ERRORS=OFF -DASSIMP_BUILD_TESTS=OFF";
var build = $"cmake --build . --config Release{JobsArg}";

if (OperatingSystem.IsWindows())
Expand Down

0 comments on commit 401a905

Please sign in to comment.