diff options
-rw-r--r-- | dnssd/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dnssd/CMakeLists.txt b/dnssd/CMakeLists.txt index 3306f49aa..c465d67a5 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}/kdecore @@ -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 kdecore-shared ${AVAHI_TQT_LIBRARIES} ${AVAHI_CLIENT_LIBRARIES} + LINK kdecore-shared + LINK_PRIVATE ${AVAHI_TQT_LIBRARIES} ${AVAHI_CLIENT_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} ) |