|
|
|
@ -25,6 +25,11 @@ class MagnumBindings < 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}", |
|
|
|
"-DWITH_PYTHON=ON", |
|
|
|
"-DWITH_PYTHON=ON", |
|
|
|
".." |
|
|
|
".." |
|
|
|
system "cmake", "--build", "." |
|
|
|
system "cmake", "--build", "." |
|
|
|
|