Skip to content

Commit

Permalink
Cmake: restore installing the Avahi service file
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
rgetz committed Mar 12, 2020
1 parent 284e10d commit 5247675
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 5247675

Please sign in to comment.