Skip to content

Commit

Permalink
TEMP: [cmake] fixup: need to INTERFACE_LINK_LIBRARIES kodi::AvahiCommon
Browse files Browse the repository at this point in the history
  • Loading branch information
Portisch committed May 18, 2024
1 parent 163c94e commit f3485c3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions projects/Amlogic-ce/patches/kodi/25230.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
From f963185bee638116c44d80fa2067a4c922e3c870 Mon Sep 17 00:00:00 2001
From: Frank Howie <howie-f@kodi.tv>
Date: Sat, 18 May 2024 18:49:17 +0200
Subject: [PATCH] [cmake] fixup: need to INTERFACE_LINK_LIBRARIES
kodi::AvahiCommon

---
cmake/modules/FindAvahi.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/modules/FindAvahi.cmake b/cmake/modules/FindAvahi.cmake
index 3282678504ffa..6570375478210 100644
--- a/cmake/modules/FindAvahi.cmake
+++ b/cmake/modules/FindAvahi.cmake
@@ -46,7 +46,7 @@ if(NOT TARGET ${APP_NAME_LC}::${CMAKE_FIND_PACKAGE_NAME})
IMPORTED_LOCATION "${AVAHI_CLIENT_LIBRARY}"
INTERFACE_INCLUDE_DIRECTORIES "${AVAHI_CLIENT_INCLUDE_DIR}"
INTERFACE_COMPILE_DEFINITIONS "HAS_AVAHI;HAS_ZEROCONF"
- INTERFACE_LINK_LIBRARIES Avahi::AvahiCommon)
+ INTERFACE_LINK_LIBRARIES ${APP_NAME_LC}::AvahiCommon)

endif()
endif()

0 comments on commit f3485c3

Please sign in to comment.