Merge pull request #916 from jppelteret/bugfix/gmsh
Prevent GMsh from installing in custom prefix on OSX
This commit is contained in:
commit
e2f390c5da
@ -62,6 +62,9 @@ def install(self, spec, prefix):
|
||||
|
||||
build_directory = join_path(self.stage.path, 'spack-build')
|
||||
source_directory = self.stage.source_path
|
||||
|
||||
# Prevent GMsh from using its own strange directory structure on OSX
|
||||
options.append('-DENABLE_OS_SPECIFIC_INSTALL=OFF')
|
||||
|
||||
if '+shared' in spec:
|
||||
options.extend(['-DENABLE_BUILD_SHARED:BOOL=ON',
|
||||
|
Loading…
Reference in New Issue
Block a user