forked from jbagg/QtZeroConf
Fix CMakeLists.txt for linux
Have to link to 'avahi-client' and not 'libavahi'
This commit is contained in:
1 parent
a8084c9eac
commit
3fdf9dd8d8
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user