summaryrefslogtreecommitdiffstats
path: root/dnssd/CMakeLists.txt
diff options
context:
space:
mode:
authoraneejit1 <aneejit1@gmail.com>2020-06-15 16:48:56 +0000
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2020-06-17 15:23:59 +0000
commit86df09d798b216ec21dafa3c90aeb348df47b23e (patch)
treedffa6859b782b2a05cd5036ecf67c8d400baff4f /dnssd/CMakeLists.txt
parenta94bf7ad14415944b4ed7f6bdded31101c716600 (diff)
downloadtdelibs-86df09d798b216ec21dafa3c90aeb348df47b23e.tar.gz
tdelibs-86df09d798b216ec21dafa3c90aeb348df47b23e.zip
avahi-tqt include/link directories missing
Signed-off-by: aneejit1 <aneejit1@gmail.com>
Diffstat (limited to 'dnssd/CMakeLists.txt')
-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}
)