install: Configurable DESTINATION for the cmake.m4 file

The DESTINATION changed from share/aclocal to ${CMAKE_XDGDATA_DIR}/aclocal.
This commit is contained in:
Konstantin Podsvirov 2016-11-11 00:52:59 +03:00
parent 4790842612
commit da0e3f9096

View File

@ -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)