diff --git a/CMakeLists.txt b/CMakeLists.txt index ec67fc18..6cb6cd52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -349,7 +349,7 @@ endif() # copy pam service to /etc/pam.d if(EXISTS "/etc/pam.d") - install(FILES "${CMAKE_SOURCE_DIR}/pam/netopeer2.conf" DESTINATION "/etc/pam.d") + install(FILES "${CMAKE_SOURCE_DIR}/pam/netopeer2.conf" DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}/pam.d") endif() if(SYSREPO_SETUP)