1
0
mirror of synced 2025-04-19 00:24:02 +03:00

build(meson): allow using OpenSSL 3.0 (#1256)

Following 0857eba17b9d3ef90d45950f9853b7579d6a7f29 cpp-httplib is fully compatible with OpenSSL versions newer than 1.1.1
This commit is contained in:
Andrea Pappacoda 2022-04-21 03:39:52 +02:00 committed by GitHub
parent 348d032029
commit 6929d90353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ message('cpp-httplib version ' + version)
deps = [dependency('threads')]
args = []
openssl_dep = dependency('openssl', version: ['>=1.1.1', '<1.1.2'], required: get_option('cpp-httplib_openssl'))
openssl_dep = dependency('openssl', version: '>=1.1.1', required: get_option('cpp-httplib_openssl'))
if openssl_dep.found()
deps += openssl_dep
args += '-DCPPHTTPLIB_OPENSSL_SUPPORT'