cgal: build out of source. (#1918)
* cgal: build out of source. * Simplify cmake out-of-source.
This commit is contained in:
parent
208537f6f2
commit
264604df3e
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user