summaryrefslogtreecommitdiffstats
path: root/Docs/CMakeLists.txt
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2012-04-22 17:08:29 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2012-04-23 18:46:08 (GMT)
commit5b97942cbb915e8eaff0b5b9fee0676296656c93 (patch)
tree2bef7e23ab8f6aa7903f8cedebd9a9a094e2d6e7 /Docs/CMakeLists.txt
parent3a503926018fd10ef2120e2c1b98e93afb4fd0c1 (diff)
downloadCMake-5b97942cbb915e8eaff0b5b9fee0676296656c93.zip
CMake-5b97942cbb915e8eaff0b5b9fee0676296656c93.tar.gz
CMake-5b97942cbb915e8eaff0b5b9fee0676296656c93.tar.bz2
Enhancement of bash completion scripts given by Igor Murzov.
The orginal patch has been reworked in order to follow CMake source tree layout habit. Inspired-By: Igor Murzov <e-mail@date.by>
Diffstat (limited to 'Docs/CMakeLists.txt')
-rw-r--r--Docs/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Docs/CMakeLists.txt b/Docs/CMakeLists.txt
new file mode 100644
index 0000000..0848fef
--- /dev/null
+++ b/Docs/CMakeLists.txt
@@ -0,0 +1,2 @@
+string(REGEX REPLACE "^/(.*)" "\\1" REL_CMAKE_DATA_DIR "${CMAKE_DATA_DIR}")
+ADD_SUBDIRECTORY (bash-completion)