Commit fbe5097f authored by Antonio Rojas's avatar Antonio Rojas
Browse files

Fix build with telepathy-qt 0.9.8

Use the new TelepathyQt5::Core link target with 0.9.8, otherwise compilation fails with
/usr/include/telepathy-qt5/TelepathyQt/_gen/types.h:15:10: fatal error: QDBusArgument: No such file or directory

Differential Revision: https://phabricator.kde.org/D25370
parent fd5b7567
...@@ -69,6 +69,10 @@ add_library(ktpaccountskcminternal ...@@ -69,6 +69,10 @@ add_library(ktpaccountskcminternal
${libktpaccountskcminternal_SRCS} ${libktpaccountskcminternal_SRCS}
) )
if (TARGET TelepathyQt5::Core) # telepathy-qt 0.9.8
set (TELEPATHY_QT5_LIBRARIES TelepathyQt5::Core)
endif()
target_link_libraries (ktpaccountskcminternal target_link_libraries (ktpaccountskcminternal
Qt5::Widgets Qt5::Widgets
Qt5::Core Qt5::Core
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment