forked from jbagg/QtZeroConf
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