diff options
Diffstat (limited to 'cmake/modules/FindDBus.cmake')
| -rw-r--r-- | cmake/modules/FindDBus.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindDBus.cmake b/cmake/modules/FindDBus.cmake index 2d64af4..9ea4f8f 100644 --- a/cmake/modules/FindDBus.cmake +++ b/cmake/modules/FindDBus.cmake | |||
| @@ -38,14 +38,14 @@ find_package_handle_standard_args(DBus | |||
| 38 | if(DBUS_FOUND) | 38 | if(DBUS_FOUND) |
| 39 | set(DBUS_LIBRARIES ${DBUS_LIBRARY}) | 39 | set(DBUS_LIBRARIES ${DBUS_LIBRARY}) |
| 40 | set(DBUS_INCLUDE_DIRS ${DBUS_INCLUDE_DIR} ${DBUS_ARCH_INCLUDE_DIR}) | 40 | set(DBUS_INCLUDE_DIRS ${DBUS_INCLUDE_DIR} ${DBUS_ARCH_INCLUDE_DIR}) |
| 41 | set(DBUS_DEFINITIONS -DHAVE_DBUS=1) | 41 | set(DBUS_DEFINITIONS -DHAS_DBUS=1) |
| 42 | 42 | ||
| 43 | if(NOT TARGET DBus::DBus) | 43 | if(NOT TARGET DBus::DBus) |
| 44 | add_library(DBus::DBus UNKNOWN IMPORTED) | 44 | add_library(DBus::DBus UNKNOWN IMPORTED) |
| 45 | set_target_properties(DBus::DBus PROPERTIES | 45 | set_target_properties(DBus::DBus PROPERTIES |
| 46 | IMPORTED_LOCATION "${DBUS_LIBRARY}" | 46 | IMPORTED_LOCATION "${DBUS_LIBRARY}" |
| 47 | INTERFACE_INCLUDE_DIRECTORIES "${DBUS_INCLUDE_DIR}" | 47 | INTERFACE_INCLUDE_DIRECTORIES "${DBUS_INCLUDE_DIR}" |
| 48 | INTERFACE_COMPILE_DEFINITIONS HAVE_DBUS=1) | 48 | INTERFACE_COMPILE_DEFINITIONS HAS_DBUS=1) |
| 49 | endif() | 49 | endif() |
| 50 | endif() | 50 | endif() |
| 51 | 51 | ||
