Merge pull request #916 from jppelteret/bugfix/gmsh

Prevent GMsh from installing in custom prefix on OSX
This commit is contained in:
Todd Gamblin 2016-05-08 14:35:50 -07:00
commit e2f390c5da

View File

@ -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',