From 577f0198c1627cb2d085d28ae2d4d38cb3f452e2 Mon Sep 17 00:00:00 2001 From: fabienfl Date: Tue, 30 Jan 2024 17:53:53 +0100 Subject: [PATCH] vcpkg: yara: replace wincrypt with LibreSSL --- cmake/FindYara.cmake | 3 +++ external/vcpkg | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cmake/FindYara.cmake b/cmake/FindYara.cmake index d4a2be9f..b0f7f3e9 100644 --- a/cmake/FindYara.cmake +++ b/cmake/FindYara.cmake @@ -32,8 +32,11 @@ find_library(YARA_LIB_RELEASE add_library(yara::yara INTERFACE IMPORTED) +find_package(OpenSSL REQUIRED) + # Add 'OpenSSL::Crypto' if yara is built with openssl or libressl target_link_libraries(yara::yara INTERFACE debug ${YARA_LIB_DEBUG} optimized ${YARA_LIB_RELEASE} + OpenSSL::Crypto ) diff --git a/external/vcpkg b/external/vcpkg index a4a0659e..24bc1d29 160000 --- a/external/vcpkg +++ b/external/vcpkg @@ -1 +1 @@ -Subproject commit a4a0659ed84fa94c214edb735436a7e95032b37e +Subproject commit 24bc1d29e3856834fbfa27fbd4dc2130ac0f0884