Use SYSCONFDIR as recommended

- swaylock config path not hardcoded anymore
- the unusual and weird FALLBACK_CONFIG_DIR is no more
This commit is contained in:
Yacine Hmito 2015-12-23 12:22:48 +01:00
parent 3459903ae9
commit 446e76ad47

View File

@ -39,6 +39,6 @@ install(
install( install(
FILES ${CMAKE_CURRENT_SOURCE_DIR}/pam/swaylock FILES ${CMAKE_CURRENT_SOURCE_DIR}/pam/swaylock
DESTINATION /etc/pam.d/ DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/pam.d/
COMPONENT data COMPONENT data
) )