2016-11-19 21:24:50 +01:00
|
|
|
--- a/contrib/CMakeLists.txt
|
|
|
|
+++ b/contrib/CMakeLists.txt
|
|
|
|
@@ -85,7 +85,7 @@ endif (INSTALL_PHP_EXAMPLES)
|
2013-12-27 22:33:52 +01:00
|
|
|
if (INSTALL_BASH_COMPLETION)
|
2016-11-19 21:24:50 +01:00
|
|
|
macro_optional_find_package (BashCompletion)
|
|
|
|
if (NOT BASH_COMPLETION_FOUND)
|
|
|
|
- set (BASH_COMPLETION_COMPLETIONSDIR "/etc/bash_completion.d" CACHE PATH "Location of bash_completion.d")
|
2020-11-12 22:22:18 +01:00
|
|
|
+ set (BASH_COMPLETION_COMPLETIONSDIR "${CMAKE_INSTALL_PREFIX}/share/bash-completion/completions" CACHE PATH "Location of bash_completion.d")
|
2016-11-19 21:24:50 +01:00
|
|
|
endif (NOT BASH_COMPLETION_FOUND)
|
2013-12-27 22:33:52 +01:00
|
|
|
install (
|
|
|
|
FILES bash-completion/gammu
|