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.
This commit is contained in:
		| @@ -60,6 +60,10 @@ def nfeature_to_bool(feature): | |||||||
|  |  | ||||||
|             feature_args.extend(std_cmake_args) |             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('..', |             cmake('..', | ||||||
|                 '-DCMAKE_INSTALL_PREFIX:PATH=%s' % prefix, |                 '-DCMAKE_INSTALL_PREFIX:PATH=%s' % prefix, | ||||||
|                 '-DBUILD_TESTING:BOOL=OFF', |                 '-DBUILD_TESTING:BOOL=OFF', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ben Boeckel
					Ben Boeckel