summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Nolta <mike@nolta.net>2015-12-15 12:25:31 -0500
committerMike Nolta <mike@nolta.net>2015-12-15 12:39:30 -0500
commit917fb328bb5d992b71b28c7fb86e2a0a82e06d02 (patch)
tree7b12a180f5d9d4c89671c558ffe9f3a5e8a6b539
parentdc3b54a68198fb8e217181032f81bfd43336dd5a (diff)
downloadspack-917fb328bb5d992b71b28c7fb86e2a0a82e06d02.tar.gz
spack-917fb328bb5d992b71b28c7fb86e2a0a82e06d02.tar.bz2
spack-917fb328bb5d992b71b28c7fb86e2a0a82e06d02.tar.xz
spack-917fb328bb5d992b71b28c7fb86e2a0a82e06d02.zip
cmake: enable ssl, for https downloads
By default cmake builds its own curl, without SSL support. This patch enables SSL when building cmake, fixing the following error: error: downloading 'https://...' failed status_code: 1 status_string: "Unsupported protocol" log: Protocol "https" not supported or disabled in libcurl
-rw-r--r--var/spack/packages/cmake/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/packages/cmake/package.py b/var/spack/packages/cmake/package.py
index c24a80748c..cb54c92d69 100644
--- a/var/spack/packages/cmake/package.py
+++ b/var/spack/packages/cmake/package.py
@@ -43,6 +43,7 @@ class Cmake(Package):
def install(self, spec, prefix):
configure('--prefix=' + prefix,
- '--parallel=' + str(make_jobs))
+ '--parallel=' + str(make_jobs),
+ '--', '-DCMAKE_USE_OPENSSL=ON')
make()
make('install')