summaryrefslogtreecommitdiff
path: root/cmake/bus/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/bus/CMakeLists.txt')
-rw-r--r--cmake/bus/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/bus/CMakeLists.txt b/cmake/bus/CMakeLists.txt
index 876be810..1db519f8 100644
--- a/cmake/bus/CMakeLists.txt
+++ b/cmake/bus/CMakeLists.txt
@@ -74,6 +74,12 @@ set (BUS_SOURCES
${XML_SOURCES}
${DIR_WATCH_SOURCE}
)
+if(DBUS_ENABLE_STATS)
+ list(APPEND BUS_SOURCES
+ ${BUS_DIR}/stats.c
+ ${BUS_DIR}/stats.h
+ )
+endif()
include_directories(${XML_INCLUDE_DIR})