[wildmidi] Update to 0.4.6 and fix the usage (#43123)

Co-authored-by: Monica <v-liumonica@microsoft.com>
This commit is contained in:
MonicaLiu 2025-01-07 08:56:46 -08:00 committed by GitHub
parent 1faad557cd
commit d1e9e31b11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 27 additions and 5 deletions

View File

@ -0,0 +1,16 @@
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 73fc68c..4a606d6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -90,6 +90,11 @@ IF (BUILD_SHARED_LIBS)
OUTPUT_NAME ${LIBRARY_DYN_NAME} CLEAN_DIRECT_OUTPUT 1
)
+ TARGET_INCLUDE_DIRECTORIES(libwildmidi INTERFACE
+ $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
+ $<INSTALL_INTERFACE:include>
+ )
+
IF (WIN32)
SET_TARGET_PROPERTIES(libwildmidi PROPERTIES
DEFINE_SYMBOL DLL_EXPORT

View File

@ -1,9 +1,10 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Mindwerks/wildmidi
REF wildmidi-0.4.5
SHA512 0229914ecc60091b649b790a82ad5e755a2b9dfab7443fb3e3c19f4ae64b82817cafe74d78c27f05c68c3c8fb30092c96da732d27ff82fbd7dd7d577facc23d6
REF "wildmidi-${VERSION}"
SHA512 b7259578c1b334de13b49e27aef32ad43e41bc04f569601b765ecea789b8da536d07afdb581986b7c91de552db2a625b13d061e52a2c8c51652f3cf3d1a30000
HEAD_REF master
PATCHES fix-include-path.patch
)
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
@ -28,4 +29,4 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/man")
file(INSTALL "${SOURCE_PATH}/docs/license/LGPLv3.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/docs/license/LGPLv3.txt")

View File

@ -1,6 +1,6 @@
{
"name": "wildmidi",
"version": "0.4.5",
"version": "0.4.6",
"description": "MIDI software synthesizer library.",
"homepage": "https://github.com/Mindwerks/wildmidi",
"license": "LGPL-3.0-only",

View File

@ -9669,7 +9669,7 @@
"port-version": 0
},
"wildmidi": {
"baseline": "0.4.5",
"baseline": "0.4.6",
"port-version": 0
},
"wincrypt": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "6125f3402595c56f9454a09af832cdd2aa379cc3",
"version": "0.4.6",
"port-version": 0
},
{
"git-tree": "a0da0fad8cf43fc4534ae5fc11060437582fa6b8",
"version": "0.4.5",