mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
fix dbus cmake module regression
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
fa0e8b83df
commit
04d0ca3194
1 changed files with 16 additions and 0 deletions
|
@ -24,6 +24,22 @@ find_path(DBUS_INCLUDES
|
|||
${INCLUDE_INSTALL_DIR}
|
||||
)
|
||||
|
||||
find_path(DBUS_ARCH_INCLUDES
|
||||
NAMES
|
||||
dbus/dbus-arch-deps.h
|
||||
PATH_SUFFIXES dbus-1.0
|
||||
HINTS
|
||||
$ENV{DBUSDIR}/include
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
/usr/lib/dbus-1.0/include
|
||||
${INCLUDE_INSTALL_DIR}
|
||||
)
|
||||
|
||||
if(DBUS_INCLUDES AND DBUS_ARCH_INCLUDES)
|
||||
set(DBUS_INCLUDES ${DBUS_INCLUDES} ${DBUS_ARCH_INCLUDES})
|
||||
endif()
|
||||
|
||||
find_library(DBUS_LIBRARIES
|
||||
dbus-1
|
||||
HINTS
|
||||
|
|
Loading…
Add table
Reference in a new issue