From 55a1c41827e72fbe7bac2344e8682f053c74d4e0 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Sat, 25 Aug 2012 23:14:46 +0200 Subject: [PATCH] Really fix "conky fails to build with audacious" (sf.net #3539500) apparently, my previous fix was not sufficient, although I do remember testing it :/ fix by Daniel Pielmeier. --- cmake/ConkyPlatformChecks.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmake/ConkyPlatformChecks.cmake b/cmake/ConkyPlatformChecks.cmake index 61e87af1..526df10b 100644 --- a/cmake/ConkyPlatformChecks.cmake +++ b/cmake/ConkyPlatformChecks.cmake @@ -258,12 +258,12 @@ if(BUILD_AUDACIOUS) pkg_check_modules(NEW_AUDACIOUS audacious>=1.4.0) if(NEW_AUDACIOUS_FOUND) pkg_check_modules(AUDACIOUS REQUIRED audclient>=1.4.0) - pkg_check_modules(DBUS REQUIRED dbus-1) + pkg_check_modules(DBUS_GLIB REQUIRED dbus-glib-1) else(NEW_AUDACIOUS_FOUND) pkg_check_modules(AUDACIOUS REQUIRED audacious<1.4.0) endif(NEW_AUDACIOUS_FOUND) - set(conky_libs ${conky_libs} ${AUDACIOUS_LIBRARIES}) - set(conky_includes ${conky_includes} ${AUDACIOUS_INCLUDE_DIRS} ${DBUS_INCLUDE_DIRS}) + set(conky_libs ${conky_libs} ${AUDACIOUS_LIBRARIES} ${DBUS_GLIB_LIBRARIES}) + set(conky_includes ${conky_includes} ${AUDACIOUS_INCLUDE_DIRS} ${DBUS_GLIB_INCLUDE_DIRS}) endif(BUILD_AUDACIOUS) if(BUILD_BMPX)