mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-12-22 05:19:48 +01:00
parent
f77e17e4d2
commit
e0d7e8f946
1 changed files with 5 additions and 1 deletions
|
@ -83,5 +83,9 @@ protocol("unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml" "linux-dmabuf-unst
|
|||
# Installation
|
||||
install(TARGETS hyprlock)
|
||||
|
||||
install(FILES "pam/hyprlock" DESTINATION "${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d")
|
||||
install(CODE "
|
||||
if (NOT EXISTS \"${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d/hyprlock\")
|
||||
install(FILES \"${CMAKE_SOURCE_DIR}/pam/hyprlock\" DESTINATION \"${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d\")
|
||||
endif()
|
||||
")
|
||||
|
||||
|
|
Loading…
Reference in a new issue