summaryrefslogtreecommitdiff
path: root/cmake/DBusConfig.cmake.in
blob: 23428db7eac328d813b9b9a515c85746378e81ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# - Config file for the FooBar package
# It defines the following variables
#  DBUS_INCLUDE_DIRS - include directories for FooBar
#  DBUS_LIBRARIES    - libraries to link against
#  DBUS_EXECUTABLE   - the bar executable

# Compute paths
get_filename_component(DBUS1_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(DBUS_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")

# Our library dependencies (contains definitions for IMPORTED targets)
if(NOT TARGET dbus AND NOT CMAKE_BINARY_DIR)
  include("${DBUS_CMAKE_DIR}/DBusTargets.cmake")
endif()

# These are IMPORTED targets created by FooBarTargets.cmake
set(DBUS_LIBRARIES dbus-1)
set(DBUS_EXECUTABLE dbus-daemon)