guix-mirrors/gnu/packages/patches/dolphin-emu-unbundle-watcher.patch
Maxim Cournoyer 065a80c011
gnu: dolphin-emu: Refine watcher unbundling patch.
* gnu/packages/patches/dolphin-emu-unbundle-watcher.patch: Simplify since our
watcher package now ships pkg-config files.

Change-Id: Ia1456be28a9a20f8a2d1658499e1be241bd80f34
2025-08-14 20:46:12 +09:00

30 lines
878 B
Diff

Upstream-status: https://github.com/dolphin-emu/dolphin/pull/13823
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c277e2a10a..9b9ec00f91 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -786,7 +786,9 @@ if (USE_RETRO_ACHIEVEMENTS)
add_subdirectory(Externals/rcheevos)
endif()
-add_subdirectory(Externals/watcher)
+dolphin_find_optional_system_library_pkgconfig(
+ WATCHER watcher watcher::watcher Externals/watcher
+)
########################################
# Pre-build events: Define configuration variables and write SCM info header
diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt
index ee738ba4e3..629c739c8d 100644
--- a/Source/Core/Common/CMakeLists.txt
+++ b/Source/Core/Common/CMakeLists.txt
@@ -186,7 +186,7 @@ PRIVATE
FatFs
Iconv::Iconv
spng::spng
- watcher
+ watcher::watcher
${VTUNE_LIBRARIES}
)