Merge pull request #919 from jppelteret/bugfix/gmsh-2

GMsh: Fix binary linking against its own libraries
This commit is contained in:
Todd Gamblin 2016-05-10 00:53:22 -07:00
commit a996b8aa7f

View File

@ -62,7 +62,9 @@ def install(self, spec, prefix):
build_directory = join_path(self.stage.path, 'spack-build')
source_directory = self.stage.source_path
options.append('-DCMAKE_INSTALL_NAME_DIR:PATH=%s/lib' % prefix)
# Prevent GMsh from using its own strange directory structure on OSX
options.append('-DENABLE_OS_SPECIFIC_INSTALL=OFF')