Skip to content

Commit

Permalink
CMake: install systemd targets
Browse files Browse the repository at this point in the history
  • Loading branch information
fufexan committed Nov 3, 2024
1 parent 4a67739 commit 403cd66
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,14 @@ else()
# install systemd service
install(FILES ${CMAKE_BINARY_DIR}/systemd/hyprland-session.service
DESTINATION ${CMAKE_INSTALL_LIBDIR}/systemd/user)

# install systemd targets
install(FILES ${CMAKE_BINARY_DIR}/systemd/hyprland-session.target
DESTINATION ${CMAKE_INSTALL_LIBDIR}/systemd/user)
install(FILES ${CMAKE_BINARY_DIR}/systemd/hyprland-session@.target
DESTINATION ${CMAKE_INSTALL_LIBDIR}/systemd/user)
install(FILES ${CMAKE_BINARY_DIR}/systemd/hyprland-session-pre.target
DESTINATION ${CMAKE_INSTALL_LIBDIR}/systemd/user)
endif()

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
Expand Down

0 comments on commit 403cd66

Please sign in to comment.