Browse Source

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

Prompted by PR #1911
Andrea Pappacoda 1 year ago
parent
commit
f69587656f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      test/meson.build

+ 3 - 1
test/meson.build

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