-
Notifications
You must be signed in to change notification settings - Fork 849
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TEMP: [cmake] fixup: need to INTERFACE_LINK_LIBRARIES kodi::AvahiCommon
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |