feat(cmake): all install path use GNUInstallDirs

Log: all install path use GNUInstallDirs
This commit is contained in:
rewine 2023-09-07 16:02:39 +08:00 committed by black-desk
parent 8f05ea9490
commit efb1212945
2 changed files with 2 additions and 2 deletions

View File

@ -29,4 +29,4 @@ install(FILES ${DBUS_APPLICATION_UPDATE_NOTIFIER_SERVICE_FILE}
DESTINATION ${CMAKE_INSTALL_DATADIR}/dbus-1/system-services)
install(FILES ${CMAKE_CURRENT_LIST_DIR}/dbus/org.desktopspec.ApplicationUpdateNotifier1.conf
DESTINATION /usr/share/dbus-1/system.d)
DESTINATION ${CMAKE_INSTALL_DATADIR}/dbus-1/system.d)

View File

@ -44,4 +44,4 @@ install(FILES ${DBUS_APPLICATION_MANAGER_SERVICE_FILE}
# install dpkg hook
install(FILES ${CMAKE_CURRENT_LIST_DIR}/dpkg/dpkg.cfg.d/am-update-hook
DESTINATION /etc/dpkg/dpkg.cfg.d)
DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/dpkg/dpkg.cfg.d)