summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-08-26 17:51:32 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-08-26 17:51:32 (GMT)
commita2a0a8e0d5f8ad5e464363b952220f716c8fba14 (patch)
tree85e5d9ae46e6d4942ce2956ce420ba1dba095aea /Utilities
parent9d8b025b5f90745d03eb2095232f42d7f34baa4f (diff)
downloadCMake-a2a0a8e0d5f8ad5e464363b952220f716c8fba14.zip
CMake-a2a0a8e0d5f8ad5e464363b952220f716c8fba14.tar.gz
CMake-a2a0a8e0d5f8ad5e464363b952220f716c8fba14.tar.bz2
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.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/CMakeLists.txt b/Utilities/CMakeLists.txt
index 85db367..798c163 100644
--- a/Utilities/CMakeLists.txt
+++ b/Utilities/CMakeLists.txt
@@ -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 )