CMakeLists: Fix the installation of the systemd service file

This commit is contained in:
Kirill Unitsaev 2025-01-08 18:32:27 +03:00
parent 251e8e2593
commit 2be4d3c4e4
No known key found for this signature in database
GPG key ID: 93498D6EDD8C5853

View file

@ -142,4 +142,4 @@ endif(CMAKE_BUILD_TYPE MATCHES Debug OR CMAKE_BUILD_TYPE MATCHES DEBUG)
include(GNUInstallDirs)
install(TARGETS hyprpaper)
install(FILES ${CMAKE_BINARY_DIR}/systemd/hyprpaper.service DESTINATION ${CMAKE_INSTALL_LIBDIR}/systemd/user)
install(FILES ${CMAKE_BINARY_DIR}/systemd/hyprpaper.service DESTINATION "lib/systemd/user")