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
This commit is contained in:
Mike Nolta 2015-12-15 12:25:31 -05:00
parent dc3b54a681
commit 917fb328bb

View File

@ -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')