From 52476752a9b3d5c3e3e270d79f0c94e88e2db563 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Thu, 12 Mar 2020 00:30:42 -0400 Subject: [PATCH] Cmake: restore installing the Avahi service file During commit 804216ac90db998ad01b1774e93cb49497b90187 we accidently dropped the CMAKE setting HAVE_AVAHI, however, this flag controls the setting to install the avahi service file, so it's no longer installed. This fixes it by adding it back. Signed-off-by: Robin Getz --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b195eb08..a137a1511 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -265,6 +265,7 @@ if(WITH_NETWORK_BACKEND) elseif(AVAHI_CLIENT_LIBRARIES AND AVAHI_COMMON_LIBRARIES) message(STATUS "Building with Avahi, a DNS SD implementation") set(HAVE_DNS_SD ON) + set(HAVE_AVAHI ON) list(APPEND LIBIIO_CFILES dns_sd_avahi.c) set(AVAHI_LIBRARIES ${AVAHI_CLIENT_LIBRARIES} ${AVAHI_COMMON_LIBRARIES})