Skip to content

Commit 5247675

Browse files
committed
Cmake: restore installing the Avahi service file
During commit 804216a 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 <[email protected]>
1 parent 284e10d commit 5247675

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ if(WITH_NETWORK_BACKEND)
265265
elseif(AVAHI_CLIENT_LIBRARIES AND AVAHI_COMMON_LIBRARIES)
266266
message(STATUS "Building with Avahi, a DNS SD implementation")
267267
set(HAVE_DNS_SD ON)
268+
set(HAVE_AVAHI ON)
268269

269270
list(APPEND LIBIIO_CFILES dns_sd_avahi.c)
270271
set(AVAHI_LIBRARIES ${AVAHI_CLIENT_LIBRARIES} ${AVAHI_COMMON_LIBRARIES})

0 commit comments

Comments
 (0)