Fix linking for real

This commit is contained in:
Cacodemon345
2021-12-03 19:43:10 +06:00
committed by GitHub
parent 22be61c09a
commit 0a10cd10d6

View File

@@ -106,7 +106,7 @@ if (PkgConfig_FOUND)
pkg_check_modules(RTMIDI rtmidi)
if (RTMIDI_FOUND)
target_include_directories(plat PRIVATE ${RTMIDI_INCLUDE_DIRS})
target_link_directories(plat PRIVATE ${RTMIDI_LIBRARY_DIRS})
target_link_directories(plat INTERFACE ${RTMIDI_LIBRARY_DIRS})
target_link_libraries(plat PRIVATE ${RTMIDI_LIBRARIES})
target_sources(plat PRIVATE rtmidi_midi.cpp)
else()