diff options
author | Elizabeth Fischer <rpf2116@columbia.edu> | 2016-10-06 05:36:27 -0400 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-10-06 02:36:27 -0700 |
commit | 264604df3e8b18496848a3b57772890b3e189b6b (patch) | |
tree | a0f259d258ba23ce078d2b5dc64ea93920ae4d32 /var/spack/repos/builtin/packages/cgal | |
parent | 208537f6f2620cba0520a5856df9387f80a82440 (diff) | |
download | spack-264604df3e8b18496848a3b57772890b3e189b6b.tar.gz spack-264604df3e8b18496848a3b57772890b3e189b6b.tar.bz2 spack-264604df3e8b18496848a3b57772890b3e189b6b.tar.xz spack-264604df3e8b18496848a3b57772890b3e189b6b.zip |
cgal: build out of source. (#1918)
* cgal: build out of source.
* Simplify cmake out-of-source.
Diffstat (limited to 'var/spack/repos/builtin/packages/cgal')
-rw-r--r-- | var/spack/repos/builtin/packages/cgal/package.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/cgal/package.py b/var/spack/repos/builtin/packages/cgal/package.py index d986f77487..ebfd3f9250 100644 --- a/var/spack/repos/builtin/packages/cgal/package.py +++ b/var/spack/repos/builtin/packages/cgal/package.py @@ -85,7 +85,7 @@ class Cgal(Package): 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') |