summaryrefslogtreecommitdiffstats
path: root/Auxiliary/CMakeLists.txt
diff options
context:
space:
mode:
authorKonstantin Podsvirov <konstantin@podsvirov.pro>2016-11-10 21:52:59 (GMT)
committerKonstantin Podsvirov <konstantin@podsvirov.pro>2016-11-15 20:17:59 (GMT)
commitda0e3f90967bccfa31be347f703d637c52621a64 (patch)
tree46691b300181b78a53073bb5f7798b630d7fc5c2 /Auxiliary/CMakeLists.txt
parent4790842612b445bc49ee7af4d44f71718e292d48 (diff)
downloadCMake-da0e3f90967bccfa31be347f703d637c52621a64.zip
CMake-da0e3f90967bccfa31be347f703d637c52621a64.tar.gz
CMake-da0e3f90967bccfa31be347f703d637c52621a64.tar.bz2
install: Configurable DESTINATION for the cmake.m4 file
The DESTINATION changed from share/aclocal to ${CMAKE_XDGDATA_DIR}/aclocal.
Diffstat (limited to 'Auxiliary/CMakeLists.txt')
-rw-r--r--Auxiliary/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auxiliary/CMakeLists.txt b/Auxiliary/CMakeLists.txt
index 8eb74b7..53cf2c5 100644
--- a/Auxiliary/CMakeLists.txt
+++ b/Auxiliary/CMakeLists.txt
@@ -1,4 +1,4 @@
install(DIRECTORY vim/indent vim/syntax DESTINATION ${CMAKE_DATA_DIR}/editors/vim)
install(FILES cmake-mode.el DESTINATION ${CMAKE_DATA_DIR}/editors/emacs)
-install(FILES cmake.m4 DESTINATION share/aclocal)
+install(FILES cmake.m4 DESTINATION ${CMAKE_XDGDATA_DIR}/aclocal)
add_subdirectory (bash-completion)