Fix linking for real
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user