diff options
author | Ralf Habacker <ralf.habacker@freenet.de> | 2019-03-07 14:25:47 +0100 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2019-03-13 08:56:59 +0100 |
commit | 9dc72c9fb806a3bdd986eac4781c2aa88c9d2771 (patch) | |
tree | e2a441bac19d23067c02afa7c2b2d34f4ad5a7f5 /bus/CMakeLists.txt | |
parent | 2c96e94fead323abfbbdded794f513ff3495c23e (diff) | |
download | dbus-9dc72c9fb806a3bdd986eac4781c2aa88c9d2771.tar.gz |
cmake: install missing files to keep in sync with autotools builds
Diffstat (limited to 'bus/CMakeLists.txt')
-rw-r--r-- | bus/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bus/CMakeLists.txt b/bus/CMakeLists.txt index d689adf6..e4c00db0 100644 --- a/bus/CMakeLists.txt +++ b/bus/CMakeLists.txt @@ -150,6 +150,19 @@ if(MSVC) project_source_group(${GROUP_CODE} bus_test_SOURCES dummy) endif() +configure_file(example-session-disable-stats.conf.in ${CMAKE_CURRENT_BINARY_DIR}/example-session-disable-stats.conf) +set(EXAMPLES_DATA + ${CMAKE_CURRENT_BINARY_DIR}/example-session-disable-stats.conf +) +if(NOT WIN32) + configure_file(example-system-enable-stats.conf.in ${CMAKE_CURRENT_BINARY_DIR}/example-system-enable-stats.conf) + list(APPEND EXAMPLES_DATA + ${CMAKE_CURRENT_BINARY_DIR}/example-system-enable-stats.conf + ) +endif() + +install(FILES ${EXAMPLES_DATA} DESTINATION ${CMAKE_INSTALL_DATADIR}/doc/dbus/examples) + ## mop up the gcov files #clean-local: # /bin/rm *.bb *.bbg *.da *.gcov || true |