mirror of
https://github.com/jbagg/QtZeroConf.git
synced 2025-08-03 03:04:27 +02:00
Fix CMakeLists.txt for linux
Have to link to 'avahi-client' and not 'libavahi'
This commit is contained in:
@@ -31,7 +31,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
|||||||
list(APPEND ${PUBLIC_HEADERS}
|
list(APPEND ${PUBLIC_HEADERS}
|
||||||
avahi-qt/qt-watch.h
|
avahi-qt/qt-watch.h
|
||||||
)
|
)
|
||||||
target_link_libraries(QtZeroConf PRIVATE libavahi)
|
target_link_libraries(QtZeroConf PRIVATE avahi-client)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
|
Reference in New Issue
Block a user