build(meson): add libcurl test dependency (#1914)

Prompted by PR #1911
This commit is contained in:
Andrea Pappacoda 2024-09-05 00:05:03 +02:00 committed by GitHub
parent d5fc340c30
commit f69587656f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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
),