From 51c413b336d1811890ae89b28e102895e24f1f82 Mon Sep 17 00:00:00 2001 From: Be Date: Sat, 4 Sep 2021 19:51:45 -0500 Subject: [PATCH] Fix mixup of vamp-sdk release and debug libraries There were two problems: 1. The vamp-sdk vcpkg port added a `d` suffix for debug builds that upstream did not. 2. The vamp-sdk vcpkg port used the same file name for libraries on every OS but that is not what upstream does. Signed-off-by: Be --- cmake-modules/FindVampHostSDK.cmake | 4 +++- vcpkg | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake-modules/FindVampHostSDK.cmake b/cmake-modules/FindVampHostSDK.cmake index 51947a40a..0f179a2d8 100644 --- a/cmake-modules/FindVampHostSDK.cmake +++ b/cmake-modules/FindVampHostSDK.cmake @@ -50,7 +50,9 @@ find_path(VampHostSDK_INCLUDE_DIR mark_as_advanced(VampHostSDK_INCLUDE_DIR) find_library(VampHostSDK_LIBRARY - NAMES vamp-hostsdk + # The library has different file names on Windows (VampHostSDK) compared + # to Linux and macOS (vamp-hostsdk). + NAMES vamp-hostsdk VampHostSDK PATHS ${PC_VampHostSDK_LIBRARY_DIRS} DOC "VampHostSDK library" ) diff --git a/vcpkg b/vcpkg index f8d74b522..9c84b3970 160000 --- a/vcpkg +++ b/vcpkg @@ -1 +1 @@ -Subproject commit f8d74b5224513183a71199f60e25d741af984abf +Subproject commit 9c84b3970064eaedb405990797d79a93186b1e08