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:
parent
a6f672311e
commit
68802bb592
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -8,5 +8,5 @@ install(
|
|||
|
||||
INSTALL(
|
||||
FILES org.freedesktop.miracle.conf
|
||||
DESTINATION /etc/dbus-1/system.d
|
||||
DESTINATION ${SYSCONFDIR}/dbus-1/system.d
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue