1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 20:31:17 +00:00

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
This commit is contained in:
Pavel Labath 2012-07-07 20:41:45 +02:00
parent abdb5582bd
commit ba1919a02e

View File

@ -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)