summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2020-06-15 16:48:56 +0000
committerSlávek Banko <slavek.banko@axis.cz>2020-06-17 17:24:34 +0200
commit0eba7ab884b714caf77330d6e799b593b355be30 (patch)
tree3ef4f8c33002fee0f83ff5a3d33265d83a5e5d80
parent90aed94879cdd2fcb1824a114387b8c8aa651f19 (diff)
downloadtdelibs-0eba7ab884b714caf77330d6e799b593b355be30.tar.gz
tdelibs-0eba7ab884b714caf77330d6e799b593b355be30.zip
avahi-tqt include/link directories missing
Signed-off-by: aneejit1 <aneejit1@gmail.com> (cherry picked from commit 86df09d798b216ec21dafa3c90aeb348df47b23e)
-rw-r--r--dnssd/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/dnssd/CMakeLists.txt b/dnssd/CMakeLists.txt
index 1c1e40d11..8dc7ebfd8 100644
--- a/dnssd/CMakeLists.txt
+++ b/dnssd/CMakeLists.txt
@@ -11,6 +11,8 @@
include_directories(
${TQT_INCLUDE_DIRS}
+ ${AVAHI_TQT_INCLUDE_DIRS}
+ ${AVAHI_CLIENT_INCLUDE_DIRS}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/tdecore
@@ -20,6 +22,8 @@ include_directories(
link_directories(
${TDECORE_LIBRARY_DIRS}
+ ${AVAHI_TQT_LIBRARY_DIRS}
+ ${AVAHI_CLIENT_LIBRARY_DIRS}
)
##### headers ###################################
@@ -44,6 +48,7 @@ set( ${target}_SRCS
tde_add_library( ${target} SHARED AUTOMOC
SOURCES ${${target}_SRCS}
VERSION 1.0.0
- LINK tdecore-shared ${AVAHI_TQT_LIBRARIES} ${AVAHI_CLIENT_LIBRARIES}
+ LINK tdecore-shared
+ LINK_PRIVATE ${AVAHI_TQT_LIBRARIES} ${AVAHI_CLIENT_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)