From c85a74fe1bed66ec86ac6a9cdd3e35ca10e83c21 Mon Sep 17 00:00:00 2001 From: Andrew Potter Date: Fri, 29 Dec 2023 12:08:45 -0800 Subject: [PATCH] Add bcrypt dependency. Fixes #64 --- libxml++/meson.build | 2 +- meson.build | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libxml++/meson.build b/libxml++/meson.build index d51378e4..93736f9f 100644 --- a/libxml++/meson.build +++ b/libxml++/meson.build @@ -103,7 +103,7 @@ if host_machine.system() == 'windows' extra_xmlxx_objects += xmlxx_res if xml2_is_subproject - xmlxx_all_deps += [winsock_dep] + xmlxx_all_deps += [winsock_dep, bcrypt_dep] endif endif diff --git a/meson.build b/meson.build index bb7832d2..ed0692a5 100644 --- a/meson.build +++ b/meson.build @@ -129,6 +129,7 @@ if not xml2_dep.found() thread_dep = dependency('threads', required: false) zlib_dep = dependency('zlib', required: false) winsock_dep = cpp_compiler.find_library('ws2_32', required: false) + bcrypt_dep = cpp_compiler.find_library('bcrypt', required: false) cmake_build_type = get_option('buildtype') if get_option('buildtype') == 'debugoptimized' cmake_build_type = 'RelWithDebInfo'