From 57983ae461fb54161ac03aba371151938112c4d2 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Litza Date: Tue, 3 Apr 2018 10:47:45 +0200 Subject: [PATCH] cmake: Make dependency on avahi-client optional The dependency already is optional in the code (conditional HAS_AVAHI), but for some reason it was marked as required in CMakeLists. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 759463e1..3f692f63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,7 +111,7 @@ else() add_definitions(-DHAS_ALSA) endif (ALSA_FOUND) - pkg_search_module(AVAHI REQUIRED avahi-client) + pkg_search_module(AVAHI avahi-client) if (AVAHI_FOUND) add_definitions(-DHAS_AVAHI) endif (AVAHI_FOUND)