diff options
| author | Jack Nagel | 2011-12-30 22:01:16 -0600 |
|---|---|---|
| committer | Jack Nagel | 2011-12-30 22:01:49 -0600 |
| commit | bd4e281bed797770f1f9fe9e6d217ce9a697b0ad (patch) | |
| tree | 87d81f0bff9855981c62fa9abb7644a6e51a06c1 /Library | |
| parent | 5034f0f0e113b1548b44d394000005a7cf693c20 (diff) | |
| download | homebrew-bd4e281bed797770f1f9fe9e6d217ce9a697b0ad.tar.bz2 | |
cgal: fix incorrect install names
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/cgal.rb | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
