diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2016-01-05 17:53:55 -0500 |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2016-01-06 12:05:05 -0500 |
commit | e7901466273884b680d2575d54561bd73d0c73b4 (patch) | |
tree | 0e7e045b6b88e94cd72ae8868a7106d2b5445c74 /var | |
parent | 84c7e457e98d3629bc973cdd6b199ab5d5deafc4 (diff) | |
download | spack-e7901466273884b680d2575d54561bd73d0c73b4.tar.gz spack-e7901466273884b680d2575d54561bd73d0c73b4.tar.bz2 spack-e7901466273884b680d2575d54561bd73d0c73b4.tar.xz spack-e7901466273884b680d2575d54561bd73d0c73b4.zip |
paraview: add some extra arguments on OS X
X shouldn't be used on OS X and spack expects a Unix-style install, not
a .app bundle.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/packages/paraview/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/packages/paraview/package.py b/var/spack/packages/paraview/package.py index 1d99b34899..aaab352e66 100644 --- a/var/spack/packages/paraview/package.py +++ b/var/spack/packages/paraview/package.py @@ -60,6 +60,10 @@ class Paraview(Package): feature_args.extend(std_cmake_args) + if 'darwin' in self.spec.architecture: + feature_args.append('-DVTK_USE_X:BOOL=OFF') + feature_args.append('-DPARAVIEW_DO_UNIX_STYLE_INSTALLS:BOOL=ON') + cmake('..', '-DCMAKE_INSTALL_PREFIX:PATH=%s' % prefix, '-DBUILD_TESTING:BOOL=OFF', |