Skip to content

Commit 0d107b1

Browse files
committed
iio.service file : remove since iiod now announce automatically
with the recent updates to iiod, avahi should get poked in the right ways to make these files not necessary on targets. Signed-off-by: Robin Getz <[email protected]>
1 parent f7313ce commit 0d107b1

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ if(WITH_NETWORK_BACKEND)
276276
list(APPEND LIBIIO_CFILES dns_sd_avahi.c)
277277
set(AVAHI_LIBRARIES ${AVAHI_CLIENT_LIBRARIES} ${AVAHI_COMMON_LIBRARIES})
278278
list(APPEND LIBS_TO_LINK ${AVAHI_LIBRARIES})
279-
set(AVAHI_SERVICE_INSTALL_DIR /etc/avahi/services/ CACHE PATH "default install path for Avahi service files")
280279
else()
281280
message(STATUS "Building without DNS-SD (Zeroconf) support")
282281
endif()
@@ -335,9 +334,6 @@ endif()
335334

336335
if (IIOD_CLIENT)
337336
list(APPEND LIBIIO_CFILES iiod-client.c)
338-
if (HAVE_AVAHI)
339-
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/iio.service DESTINATION ${AVAHI_SERVICE_INSTALL_DIR})
340-
endif()
341337
endif()
342338

343339
configure_file(libiio.iss.cmakein ${CMAKE_CURRENT_BINARY_DIR}/libiio.iss @ONLY)

iio.service

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)