2021-03-07 02:40:21 +02:00
|
|
|
# Try to find the Avahi, once done this will define:
|
2020-03-25 01:41:20 +00:00
|
|
|
#
|
|
|
|
# AVAHI_FOUND - system has Avahi
|
|
|
|
# AVAHI_INCLUDE_DIR - the Avahi include directory
|
|
|
|
#
|
2021-03-07 02:40:21 +02:00
|
|
|
# Copyright (c) 2020 Ivailo Monev <xakepa10@gmail.com>
|
2014-11-13 01:04:59 +02:00
|
|
|
#
|
|
|
|
# Redistribution and use is allowed according to the terms of the BSD license.
|
|
|
|
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
|
|
|
|
2020-03-25 01:41:20 +00:00
|
|
|
find_path(AVAHI_INCLUDE_DIR
|
|
|
|
NAMES avahi-common/defs.h
|
|
|
|
HINTS $ENV{AVAHIDIR}/include
|
|
|
|
)
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
include(FindPackageHandleStandardArgs)
|
2020-03-25 01:41:20 +00:00
|
|
|
find_package_handle_standard_args(Avahi
|
|
|
|
REQUIRED_VARS AVAHI_INCLUDE_DIR
|
|
|
|
)
|