1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

Customizable sysconfdir on cmake

This commit is contained in:
albfan 2017-04-15 22:35:43 +02:00
parent a6f672311e
commit 68802bb592
2 changed files with 3 additions and 1 deletions

View file

@ -20,6 +20,8 @@ if(BUILD_ENABLE_DEBUG)
add_definitions(-DBUILD_ENABLE_DEBUG)
endif()
set(SYSCONFDIR "/etc" CACHE STRING "system config dir")
find_package(PkgConfig)
pkg_check_modules (GLIB2 REQUIRED glib-2.0)
pkg_check_modules (UDEV REQUIRED libudev)

View file

@ -8,5 +8,5 @@ install(
INSTALL(
FILES org.freedesktop.miracle.conf
DESTINATION /etc/dbus-1/system.d
DESTINATION ${SYSCONFDIR}/dbus-1/system.d
)