aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-10-25 11:08:26 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-10-30 04:50:42 +0000
commit61cd1aaf0fb4e1c4ba3628132cce84da703381bb (patch)
treeccbbaf50a76d34b60635dc112904afc4cdcb663f
parent2c12f6adf557af5812374b6067c017b42c91650a (diff)
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 <knimitz@witz-inc.co.jp>
-rw-r--r--CMakeLists.txt1
-rw-r--r--conf/CMakeLists.txt18
2 files changed, 19 insertions, 0 deletions
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()