cgal: build out of source. (#1918)

* cgal: build out of source.

* Simplify cmake out-of-source.
This commit is contained in:
Elizabeth Fischer 2016-10-06 05:36:27 -04:00 committed by Todd Gamblin
parent 208537f6f2
commit 264604df3e

View File

@ -85,7 +85,7 @@ def install(self, spec, prefix):
else:
options.append('-DBUILD_SHARED_LIBS:BOOL=OFF')
cmake('.', *options)
make()
make('install')
with working_dir('spack-build', create=True):
cmake('..', *options)
make()
make('install')