Merge pull request #916 from jppelteret/bugfix/gmsh
Prevent GMsh from installing in custom prefix on OSX
This commit is contained in:
commit
e2f390c5da
@ -63,6 +63,9 @@ def install(self, spec, prefix):
|
|||||||
build_directory = join_path(self.stage.path, 'spack-build')
|
build_directory = join_path(self.stage.path, 'spack-build')
|
||||||
source_directory = self.stage.source_path
|
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:
|
if '+shared' in spec:
|
||||||
options.extend(['-DENABLE_BUILD_SHARED:BOOL=ON',
|
options.extend(['-DENABLE_BUILD_SHARED:BOOL=ON',
|
||||||
'-DENABLE_BUILD_DYNAMIC:BOOL=ON']) # Builds dynamic executable and installs shared library
|
'-DENABLE_BUILD_DYNAMIC:BOOL=ON']) # Builds dynamic executable and installs shared library
|
||||||
|
Loading…
Reference in New Issue
Block a user