qt gui: QStethoscope2 - defer specific parts too survive Server-reboot
[supercollider.git] / cmake_modules / FindAvahi.cmake
blob8cc4a27d53cdb32c93470294767d9c9e5760bbd7
1 find_library(AVAHI_LIBRARY-COMMON NAMES avahi-common)
2 find_library(AVAHI_LIBRARY-CLIENT NAMES avahi-client)
3 find_path(AVAHI_INCLUDE_DIR avahi-client/publish.h)
5 include(FindPackageHandleStandardArgs)
6 find_package_handle_standard_args(Avahi DEFAULT_MSG AVAHI_LIBRARY-COMMON AVAHI_LIBRARY-CLIENT AVAHI_INCLUDE_DIR)
8 if(AVAHI_FOUND)
9     set(AVAHI_LIBRARIES ${AVAHI_LIBRARY-COMMON} ${AVAHI_LIBRARY-CLIENT})
10     set(AVAHI_INCLUDE_DIRS ${AVAHI_INCLUDE_DIR})
11 endif()