mirror of
https://github.com/hyprwm/hyprlock.git
synced 2024-11-16 23:05:58 +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
|
# Installation
|
||||||
install(TARGETS hyprlock)
|
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