diff --git a/CMakeLists.txt b/CMakeLists.txt index a2b39ac8..f8ea59ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -84,5 +84,5 @@ protocol("unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml" "linux-dmabuf-unst install(TARGETS hyprlock) set(PAM_INSTALL_DIR "/etc/pam.d") -install(FILES "pam/hyprlock" DESTINATION "${CMAKE_INSTALL_FULL_SYSCONFDIR}/pam.d") +install(FILES "pam/hyprlock" DESTINATION "${PAM_INSTALL_DIR}")