[wavpack] Link against openssl target (#6607)

This commit is contained in:
Alexander Neumann 2019-05-24 18:50:17 +02:00 committed by Phil Christensen
parent ba39468c58
commit a4f94540ae
3 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,3 @@
Source: wavpack Source: wavpack
Version: 5.1.0-00d9a4a Version: 5.1.0-00d9a4a-1
Description: WavPack encode/decode library, command-line programs, and several plugins Description: WavPack encode/decode library, command-line programs, and several plugins

View File

@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 70e1043f..d8cb8b10 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -208,7 +208,7 @@ target_include_directories(wavpack
target_link_libraries(wavpack
PRIVATE
$<$<BOOL:${HAVE_LIBM}>:m>
- $<$<BOOL:${WAVPACK_ENABLE_LIBCRYPTO}>:${OPENSSL_CRYPTO_LIBRARY}>
+ $<$<BOOL:${WAVPACK_ENABLE_LIBCRYPTO}>:OpenSSL::Crypto>
)
target_compile_definitions(wavpack
PRIVATE

View File

@ -19,6 +19,8 @@ vcpkg_from_github(
REF 00d9a4ac58a52b52495736be614cb06ba102663c REF 00d9a4ac58a52b52495736be614cb06ba102663c
SHA512 a0d08ac2ff46bd4cc606626c8e0da18a83392722a2e40df18f9e40710e5e147c0a24800174bfdf42ed7a12be4d9679f6302c51d8409724d31ca2a29ab4972481 SHA512 a0d08ac2ff46bd4cc606626c8e0da18a83392722a2e40df18f9e40710e5e147c0a24800174bfdf42ed7a12be4d9679f6302c51d8409724d31ca2a29ab4972481
HEAD_REF master HEAD_REF master
PATCHES
OpenSSL.patch
) )
vcpkg_configure_cmake( vcpkg_configure_cmake(