From d9a6229434fba475ea42b634ee2f03919236798d Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 10 Apr 2024 22:42:54 +0100 Subject: [PATCH] pam: always install pam file --- CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e4d73c4..3cc75f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -83,9 +83,4 @@ protocol("unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml" "linux-dmabuf-unst # Installation install(TARGETS hyprlock) -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() -") - +install(FILES ${CMAKE_SOURCE_DIR}/pam/hyprlock DESTINATION ${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d)