Browse Source

package/homebrew: make this work on ARM Macs as well.

Thank you, Homebrew! FFS!
pull/525/head
Vladimír Vondruš 5 years ago
parent
commit
754e010794
  1. 5
      package/homebrew/magnum.rb

5
package/homebrew/magnum.rb

@ -16,6 +16,11 @@ class Magnum < Formula
cd "build" do cd "build" do
system "cmake", system "cmake",
*std_cmake_args, *std_cmake_args,
# Without this, ARM builds will try to look for dependencies in
# /usr/local/lib and /usr/lib (which are the default locations) instead
# of /opt/homebrew/lib which is dedicated for ARM binaries. Please
# complain to Homebrew about this insane non-obvious filesystem layout.
"-DCMAKE_INSTALL_NAME_DIR:STRING=#{lib}",
# Without this, it will try to look for plugins somewhere deep in # Without this, it will try to look for plugins somewhere deep in
# homebrew's Cellar in per-package directories instead of in the # homebrew's Cellar in per-package directories instead of in the
# location everything's symlinked to, thus finding only magnum's core # location everything's symlinked to, thus finding only magnum's core

Loading…
Cancel
Save