diff options
author | Wouter van Kesteren <woutershep@gmail.com> | 2016-12-17 00:18:39 +0100 |
---|---|---|
committer | Wouter van Kesteren <woutershep@gmail.com> | 2016-12-17 01:00:39 +0100 |
commit | 09b9106550fc05f71a49a3ddef7db8567c5888ac (patch) | |
tree | 8b8c75883ff27ef31588b886f4813177bab80ab2 /completions/zsh/CMakeLists.txt | |
parent | Merge pull request #991 from barfoo1/registry_fix (diff) | |
download | sway-09b9106550fc05f71a49a3ddef7db8567c5888ac.tar.gz sway-09b9106550fc05f71a49a3ddef7db8567c5888ac.tar.zst sway-09b9106550fc05f71a49a3ddef7db8567c5888ac.zip |
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.
Diffstat (limited to 'completions/zsh/CMakeLists.txt')
-rw-r--r-- | completions/zsh/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/zsh/CMakeLists.txt b/completions/zsh/CMakeLists.txt index ac307d7d..62c85090 100644 --- a/completions/zsh/CMakeLists.txt +++ b/completions/zsh/CMakeLists.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | install( | 1 | install( |
2 | FILES _sway _swaymsg _swaygrab _swaylock | 2 | FILES _sway _swaymsg _swaygrab _swaylock |
3 | DESTINATION share/zsh/site-functions/ | 3 | DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/zsh/site-functions/ |
4 | ) | 4 | ) |