diff --git a/bash-completion/CMakeLists.txt b/bash-completion/CMakeLists.txt index e773b594c..b8baaa217 100644 --- a/bash-completion/CMakeLists.txt +++ b/bash-completion/CMakeLists.txt @@ -1,4 +1 @@ -if (NOT CMAKE_BASH_COMP_DIR) - set(CMAKE_BASH_COMP_DIR ${CMAKE_XDGDATA_DIR}/bash-completion/completions) -endif() -install(FILES far2l DESTINATION ${CMAKE_BASH_COMP_DIR}) +install(FILES far2l DESTINATION ${CMAKE_INSTALL_DATADIR}/bash-completion/completions)