diff --git a/interfaces/CMakeLists.txt b/interfaces/CMakeLists.txt index 3a8e9bc1e..174c65939 100644 --- a/interfaces/CMakeLists.txt +++ b/interfaces/CMakeLists.txt @@ -69,9 +69,11 @@ add_dependencies(kdeconnectinterfaces ) target_link_libraries(kdeconnectinterfaces - ${KDE4_KDEUI_LIBS} +LINK_PUBLIC ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} +LINK_PRIVATE + ${KDE4_KDEUI_LIBS} ${KDE4_KDECORE_LIBS} ${QJSON_LIBRARIES} )