From 0a10cd10d6cd8a0b74d604d232f038ef0ed75f96 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Fri, 3 Dec 2021 19:43:10 +0600 Subject: [PATCH] Fix linking for real --- src/qt/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qt/CMakeLists.txt b/src/qt/CMakeLists.txt index d18841b57..4dd075e34 100644 --- a/src/qt/CMakeLists.txt +++ b/src/qt/CMakeLists.txt @@ -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()