From bd4e281bed797770f1f9fe9e6d217ce9a697b0ad Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 30 Dec 2011 22:01:16 -0600 Subject: cgal: fix incorrect install names Signed-off-by: Jack Nagel --- Library/Formula/cgal.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/cgal.rb b/Library/Formula/cgal.rb index baaecb6fd..ad22e8ffe 100644 --- a/Library/Formula/cgal.rb +++ b/Library/Formula/cgal.rb @@ -17,7 +17,10 @@ class Cgal < Formula end def install - args = ["-DCMAKE_INSTALL_PREFIX=#{prefix}", "-DCMAKE_BUILD_TYPE=Release"] + args = ["-DCMAKE_INSTALL_PREFIX=#{prefix}", + "-DCMAKE_BUILD_TYPE=Release", + "-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON", + "-DCMAKE_INSTALL_NAME_DIR=#{HOMEBREW_PREFIX}/lib"] unless ARGV.include? '--imaging' args << "-DWITH_CGAL_Qt3=OFF" << "-DWITH_CGAL_Qt4=OFF" << "-DWITH_CGAL_ImageIO=OFF" end -- cgit v1.2.3