From 61cd1aaf0fb4e1c4ba3628132cce84da703381bb Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Wed, 25 Oct 2017 11:08:26 +0900 Subject: Install dbus configuration dbus configuration was installed by recipe This patch enables it to be installed by CMake Change-Id: I5753c6b79f79498c55abb66c2b7a7ac757869989 Signed-off-by: Kazumasa Mitsunari --- CMakeLists.txt | 1 + conf/CMakeLists.txt | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 conf/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index e456ade..b7be72e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,3 +34,4 @@ set(CMAKE_BUILD_TYPE Debug) add_definitions(-DDEBUGMODE) add_subdirectory(src) +add_subdirectory(conf) diff --git a/conf/CMakeLists.txt b/conf/CMakeLists.txt new file mode 100644 index 0000000..b90a76e --- /dev/null +++ b/conf/CMakeLists.txt @@ -0,0 +1,18 @@ +# +# Copyright (c) 2017 TOYOTA MOTOR CORPORATION +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +if(DEFINED CMAKE_INSTALL_SYSCONFDIR) + INSTALL(FILES soundmanager-dbus.conf DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/dbus-1/system.d) +endif() -- cgit 1.2.3-korg