build(meson): add libcurl test dependency

Prompted by PR #1911
This commit is contained in:
Andrea Pappacoda 2024-09-04 22:33:43 +02:00
parent d5fc340c30
commit 9b22613344
No known key found for this signature in database
GPG Key ID: 4A9208A2455077A7

View File

@ -3,6 +3,7 @@
# SPDX-License-Identifier: MIT
gtest_dep = dependency('gtest', main: true)
libcurl_dep = dependency('libcurl')
openssl = find_program('openssl')
test_conf = files('test.conf')
@ -119,7 +120,8 @@ test(
'test.cc',
dependencies: [
cpp_httplib_dep,
gtest_dep
gtest_dep,
libcurl_dep
],
override_options: test_options
),