mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 20:38:59 +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.
5 lines
136 B
Plaintext
5 lines
136 B
Plaintext
portmidi provides CMake targets:
|
|
|
|
find_package(PortMidi CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE PortMidi::portmidi)
|