Skip to content

Commit

Permalink
magnum-plugins: use meshoptimizer that works on old Apple Clangs.
Browse files Browse the repository at this point in the history
Fuck you, Apple.
  • Loading branch information
mosra committed May 29, 2020
1 parent 8582e52 commit d688c4e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Formula/magnum-plugins.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ def install
system "tar", "xzvf", "basis-universal.tar.gz", "-C", "basis-universal", "--strip-components=1"
end

# Bundle meshoptimizer 0.14
system "curl", "-L", "https://github.com/zeux/meshoptimizer/archive/v0.14.tar.gz", "-o", "src/external/meshoptimizer.tar.gz"
# Bundle meshoptimizer 0.14 + a commit that fixes the build on old Apple
# Clang versions: https://github.com/zeux/meshoptimizer/pull/130
system "curl", "-L", "https://github.com/zeux/meshoptimizer/archive/97c52415c6d29f297a76482ddde22f739292446d.tar.gz", "-o", "src/external/meshoptimizer.tar.gz"
cd "src/external" do
system "mkdir", "meshoptimizer"
system "tar", "xzvf", "meshoptimizer.tar.gz", "-C", "meshoptimizer", "--strip-components=1"
Expand Down

0 comments on commit d688c4e

Please sign in to comment.