summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-01-12 09:12:06 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2016-01-12 09:12:06 -0800
commit1a3c0063a5fff158e0300624d3a178a6e0ccdee2 (patch)
tree32289f18ff9eea06e4dcfdb495e8ba5c351a64e9 /var
parenta13c461890a3b7dfd6b2a249db0dcb1b728d411c (diff)
parent81a389151f58a362f9dc447d5af8dfc13fdd8b3b (diff)
downloadspack-1a3c0063a5fff158e0300624d3a178a6e0ccdee2.tar.gz
spack-1a3c0063a5fff158e0300624d3a178a6e0ccdee2.tar.bz2
spack-1a3c0063a5fff158e0300624d3a178a6e0ccdee2.tar.xz
spack-1a3c0063a5fff158e0300624d3a178a6e0ccdee2.zip
Merge pull request #329 from epfl-scitas/packages/cmake
cmake : added variant that activates the build of the ncurses gui
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/cmake/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/packages/cmake/package.py b/var/spack/packages/cmake/package.py
index cb54c92d69..173f72742c 100644
--- a/var/spack/packages/cmake/package.py
+++ b/var/spack/packages/cmake/package.py
@@ -38,8 +38,9 @@ class Cmake(Package):
version('3.4.0', 'cd3034e0a44256a0917e254167217fc8',
url = 'https://cmake.org/files/v3.4/cmake-3.4.0.tar.gz')
-# version('3.0.1', 'e2e05d84cb44a42f1371d9995631dcf5')
-# version('3.0.0', '21a1c85e1a3b803c4b48e7ff915a863e')
+ variant('ncurses', default=True, description='Enables the build of the ncurses gui')
+
+ depends_on('ncurses', when='+ncurses')
def install(self, spec, prefix):
configure('--prefix=' + prefix,