mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-14 03:23:29 +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:
parent
abdb5582bd
commit
ba1919a02e
@ -258,11 +258,12 @@ if(BUILD_AUDACIOUS)
|
|||||||
pkg_check_modules(NEW_AUDACIOUS audacious>=1.4.0)
|
pkg_check_modules(NEW_AUDACIOUS audacious>=1.4.0)
|
||||||
if(NEW_AUDACIOUS_FOUND)
|
if(NEW_AUDACIOUS_FOUND)
|
||||||
pkg_check_modules(AUDACIOUS REQUIRED audclient>=1.4.0)
|
pkg_check_modules(AUDACIOUS REQUIRED audclient>=1.4.0)
|
||||||
|
pkg_check_modules(DBUS REQUIRED dbus-1)
|
||||||
else(NEW_AUDACIOUS_FOUND)
|
else(NEW_AUDACIOUS_FOUND)
|
||||||
pkg_check_modules(AUDACIOUS REQUIRED audacious<1.4.0)
|
pkg_check_modules(AUDACIOUS REQUIRED audacious<1.4.0)
|
||||||
endif(NEW_AUDACIOUS_FOUND)
|
endif(NEW_AUDACIOUS_FOUND)
|
||||||
set(conky_libs ${conky_libs} ${AUDACIOUS_LIBRARIES})
|
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)
|
endif(BUILD_AUDACIOUS)
|
||||||
|
|
||||||
if(BUILD_BMPX)
|
if(BUILD_BMPX)
|
||||||
|
Loading…
Reference in New Issue
Block a user