Skip to content

Commit

Permalink
try just x86_64 and arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Feb 22, 2024
1 parent d586dd9 commit 4c8d6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/BuildMacOSTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public sealed class BuildMacOSTask : FrostingTask<BuildContext>
public override void Run(BuildContext context)
{
var buildWorkingDir = "assimp/";
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "-DASSIMP_BUILD_TESTS=OFF -DASSIMP_INSTALL=OFF -DCMAKE_OSX_ARCHITECTURES=\"x86_64 x86 arm64\" CMakeLists.txt"});
context.StartProcess("cmake", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = "-DASSIMP_BUILD_TESTS=OFF -DASSIMP_INSTALL=OFF -DCMAKE_OSX_ARCHITECTURES=\"x86_64;arm64\" CMakeLists.txt"});
context.StartProcess("make", new ProcessSettings { WorkingDirectory = buildWorkingDir, Arguments = ""});
context.CopyFile(@"assimp/bin/libassimp.5.3.0.dylib", $"{context.ArtifactsDir}/libassimp.dylib");
}
Expand Down

0 comments on commit 4c8d6e0

Please sign in to comment.