Skip to content

Commit

Permalink
vcpkg: yara: replace wincrypt with LibreSSL
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienfl-orc committed Feb 8, 2024
1 parent c505034 commit 577f019
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cmake/FindYara.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

0 comments on commit 577f019

Please sign in to comment.