From ba1919a02e1179bb8a358a0ff3da8ad72ba3f020 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Sat, 7 Jul 2012 20:41:45 +0200 Subject: [PATCH] Fix "conky fails to build with audacious" (sf.net #3539500) audacious needs dbus to compile, but we failed to provide a path to the directory containing the header files. bug reported by Daniel Pielmeier --- cmake/ConkyPlatformChecks.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/ConkyPlatformChecks.cmake b/cmake/ConkyPlatformChecks.cmake index 9ef14119..1f2e4bf0 100644 --- a/cmake/ConkyPlatformChecks.cmake +++ b/cmake/ConkyPlatformChecks.cmake @@ -258,11 +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) 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}) + set(conky_includes ${conky_includes} ${AUDACIOUS_INCLUDE_DIRS} ${DBUS_INCLUDE_DIRS}) endif(BUILD_AUDACIOUS) if(BUILD_BMPX)