Hi, Can we adopt this patch in TpQt? Makes it quite easier to adopt the library.
Cheers! Aleix
From 087302226540c2fed823304ca596d3d9a50d29a6 Mon Sep 17 00:00:00 2001 From: Aleix Pol <[email protected]> Date: Thu, 30 Oct 2014 17:23:14 +0100 Subject: [PATCH] Add the telepathy-qt include directories to the telepathy-qt target Whoever wants to link against telepathy-qt will need to be able to include it, so do it right away. --- TelepathyQt/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/TelepathyQt/CMakeLists.txt b/TelepathyQt/CMakeLists.txt index 8e41f86..000c63b 100644 --- a/TelepathyQt/CMakeLists.txt +++ b/TelepathyQt/CMakeLists.txt @@ -773,6 +773,7 @@ target_link_libraries(telepathy-qt${QT_VERSION_MAJOR} ${QT_QTNETWORK_LIBRARY} ${QT_QTXML_LIBRARY} ${TP_QT_LIBRARY_LINKER_FLAGS}) +target_include_directories(telepathy-qt${QT_VERSION_MAJOR} PUBLIC "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}/telepathy-qt${QT_VERSION_MAJOR}/>") # Link - Library used by tests to test some unexported functionality target_link_libraries(telepathy-qt-test-backdoors -- 2.1.3
_______________________________________________ KDE-Telepathy mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-telepathy
