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

Following 0857eba17b cpp-httplib is fully compatible with OpenSSL versions newer than 1.1.1
pull/1267/head
Andrea Pappacoda 4 months ago committed by GitHub
parent 348d032029
commit 6929d90353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      meson.build

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

Loading…
Cancel
Save