mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 10:57:55 +08:00
ca64b91070
* [portmidi] Search for Threads in the CMake config. Without this, consuming the library in CMake would result in the following error: The link interface of target "PortMidi::portmidi" contains: Threads::Threads but the target was not found. * [portmidi] Cleanup portfile. - Copy pdbs - Use vcpkg_install_copyright - Use ${VERSION} * [portmidi] Install a usage file. * [portmidi] Bump port-version. * [portmidi] Update baseline.
13 lines
447 B
Diff
13 lines
447 B
Diff
diff --git a/packaging/PortMidiConfig.cmake.in b/packaging/PortMidiConfig.cmake.in
|
|
index a04928a..203ba30 100644
|
|
--- a/packaging/PortMidiConfig.cmake.in
|
|
+++ b/packaging/PortMidiConfig.cmake.in
|
|
@@ -4,6 +4,7 @@ include(CMakeFindDependencyMacro)
|
|
if(UNIX AND NOT APPLE AND NOT HAIKU AND (@LINUX_DEFINES@ MATCHES ".*PMALSA.*"))
|
|
find_dependency(ALSA)
|
|
endif()
|
|
+find_dependency(Threads)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/PortMidiTargets.cmake")
|
|
|