blob: d328bf1999cf52983f4a292854f896f1d6ca2b10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Find Avahi. Only avahi-common/defs.h is really needed
#
# Copyright (c) 2007, Jakub Stachowski, <qbast@go2.pl>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
if (AVAHI_INCLUDE_DIR)
# Already in cache, be silent
set(Avahi_FIND_QUIETLY TRUE)
endif (AVAHI_INCLUDE_DIR)
FIND_PATH(AVAHI_INCLUDE_DIR avahi-common/defs.h)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Avahi DEFAULT_MSG
AVAHI_INCLUDE_DIR)
MARK_AS_ADVANCED(AVAHI_INCLUDE_DIR)
|