Skip to content

Commit

Permalink
Fix mixup of vamp-sdk release and debug libraries
Browse files Browse the repository at this point in the history
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.

----

Cherry picked from tenacity-legacy commit 51c413b
Modified not to update the vcpkg submodule

Signed-off-by: Be <[email protected]>
Signed-off-by: Avery King <[email protected]>
  • Loading branch information
Be-ing authored and Avery King committed Aug 29, 2024
1 parent ab287a4 commit e242193
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmake-modules/FindVampHostSDK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit e242193

Please sign in to comment.