mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[wavpack] Link against openssl target (#6607)
This commit is contained in:
parent
ba39468c58
commit
a4f94540ae
@ -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
|
||||||
|
13
ports/wavpack/OpenSSL.patch
Normal file
13
ports/wavpack/OpenSSL.patch
Normal 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
|
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user