mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 00:00:39 -05:00
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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user