Attempted fix for RtMidi.

This commit is contained in:
OBattler
2021-12-04 01:24:27 +01:00
parent 051b41ea6c
commit 9e00ac9c9f

View File

@@ -164,6 +164,8 @@ if(VCPKG_TOOLCHAIN)
else()
find_package(PkgConfig REQUIRED)
pkg_check_modules(RTMIDI REQUIRED IMPORTED_TARGET rtmidi)
if (NOT RTMIDI_FOUND)
pkg_check_modules(RTMIDI REQUIRED IMPORTED_TARGET librtmidi)
target_link_libraries(86Box PkgConfig::RTMIDI)
if(WIN32)