diff --git a/meson.build b/meson.build index 449d4967c20..e1bc77361e1 100644 --- a/meson.build +++ b/meson.build @@ -16,7 +16,7 @@ mariadb_dep = dependency('mariadb', required: false) mysql_dep = dependency('mysql', required: false) postgresql_dep = dependency('postgresql', required: get_option('POSTGRESQL')) zlib_dep = dependency('zlib', version: '>=1.2.13', static: true, fallback: ['zlib', 'zlib_dep'], required: true) -openssl_dep = dependency('openssl', version: '>=1.1.1', static: true, fallback: ['openssl'], required: true) +openssl_dep = dependency('openssl', version: ['>=1.1.1', '<3.0.0'], static: true, fallback: ['openssl'], required: true) utfcpp_dep = dependency('utf8cpp', static: true, required: false) if not utfcpp_dep.found() utfcpp_dep = dependency('utfcpp', static: true, fallback: ['utfcpp'], required: true)