mirror of
https://github.com/swaywm/sway.git
synced 2026-04-01 07:16:02 -04:00
Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIR
Exherbo installs architecture dependent data in a different place than architecture
independent data. More concretely: binaries go in /usr/$chost/{bin,lib},
data goes in /usr/share and configs in /etc, /etc is already configurable
through CMAKE_INSTALL_FULL_SYSCONFDIR but the datadir was not. This
patch fixes it so that things can be pushed in the right places.
This commit is contained in:
parent
6c0fc20936
commit
09b9106550
5 changed files with 7 additions and 7 deletions
|
|
@ -129,14 +129,14 @@ if(zsh-completions)
|
|||
endif()
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop
|
||||
DESTINATION share/wayland-sessions
|
||||
DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/wayland-sessions
|
||||
COMPONENT data
|
||||
)
|
||||
|
||||
if(default-wallpaper)
|
||||
install(
|
||||
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/assets/
|
||||
DESTINATION share/sway
|
||||
DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/sway
|
||||
COMPONENT data
|
||||
FILES_MATCHING PATTERN "*Wallpaper*"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue