Fix CMakeLists.txt for linux

Have to link to 'avahi-client' and not 'libavahi'
This commit is contained in:
Florian Meinicke
2020-09-11 14:01:21 +02:00
parent a8084c9eac
commit 3fdf9dd8d8

View File

@ -31,7 +31,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
list(APPEND ${PUBLIC_HEADERS}
avahi-qt/qt-watch.h
)
target_link_libraries(QtZeroConf PRIVATE libavahi)
target_link_libraries(QtZeroConf PRIVATE avahi-client)
endif()
if(APPLE)