diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2011-07-02 00:50:39 +0200 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2011-07-02 00:53:23 +0200 |
commit | a7f98d881903beb70b40550c34324210038dabc7 (patch) | |
tree | e4958142701072bc325a81d7b8157bf4503d7ff6 /cmake/bus | |
parent | e2f94ea14f6d712edf474ccf6c044a75fe744601 (diff) | |
download | dbus-a7f98d881903beb70b40550c34324210038dabc7.tar.gz |
Added DBUS_ENABLE_STATS option to cmake buildsystem to keep in sync with autotools.
Diffstat (limited to 'cmake/bus')
-rw-r--r-- | cmake/bus/CMakeLists.txt | 6 |
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}) |