generatorrunner: fix install name issue
MacPorts passes these flags by default, we should consider doing the same. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
53374a1640
commit
56fac60cb3
1 changed files with 5 additions and 1 deletions
|
@ -10,7 +10,11 @@ class Generatorrunner < Formula
|
|||
depends_on 'apiextractor'
|
||||
|
||||
def install
|
||||
system "cmake . #{std_cmake_parameters}"
|
||||
args = std_cmake_parameters.split
|
||||
args << "-DCMAKE_INSTALL_NAME_DIR=#{HOMEBREW_PREFIX}/lib"
|
||||
args << "-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON"
|
||||
|
||||
system "cmake", ".", *args
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue