summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralalazo <massimiliano.culpo@googlemail.com>2016-01-11 13:00:23 +0100
committeralalazo <massimiliano.culpo@googlemail.com>2016-01-11 13:00:23 +0100
commit81a389151f58a362f9dc447d5af8dfc13fdd8b3b (patch)
tree29e02a50d3511782f7ab4f045d75cd47eb31c25d
parent7ad3e2b56bca4aca3a1ed5a157380070ea17514f (diff)
downloadspack-81a389151f58a362f9dc447d5af8dfc13fdd8b3b.tar.gz
spack-81a389151f58a362f9dc447d5af8dfc13fdd8b3b.tar.bz2
spack-81a389151f58a362f9dc447d5af8dfc13fdd8b3b.tar.xz
spack-81a389151f58a362f9dc447d5af8dfc13fdd8b3b.zip
cmake : added variant that activates the build of the ncurses gui
-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,