Merge pull request #919 from jppelteret/bugfix/gmsh-2
GMsh: Fix binary linking against its own libraries
This commit is contained in:
commit
a996b8aa7f
@ -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')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user