cmake.m4: Use modern signature of install(FILES ...)

The older install_files command uses a leading slash in front
of the destination directory, whereas the modern signature does
not. Use the modern signature since that's what the CMake devs
are now used to.
This commit is contained in:
David Cole 2011-08-26 13:51:32 -04:00
parent 9d8b025b5f
commit a2a0a8e0d5
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ ADD_CUSTOM_COMMAND(
INSTALL_FILES(${CMAKE_MAN_DIR}/man1 FILES ${MAN_FILES})
INSTALL_FILES(${CMAKE_DOC_DIR} FILES ${HTML_FILES} ${TEXT_FILES})
INSTALL_FILES(share/aclocal FILES cmake.m4)
INSTALL(FILES cmake.m4 DESTINATION share/aclocal)
# Drive documentation generation.
ADD_CUSTOM_TARGET(documentation ALL DEPENDS ${DOC_FILES} ${CMake_BINARY_DIR}/Docs/cmake.txt )