summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-07-31 15:29:21 (GMT)
committerBrad King <brad.king@kitware.com>2001-07-31 15:29:21 (GMT)
commitcfa25e9e1a48938378c300dfbf5b33e62018f295 (patch)
tree146a67f93597b35e69c38255aaddbd0547b19f81 /Templates
parent489e91a1f7b1d5d9542cb965b47a44f99878c7a5 (diff)
downloadCMake-cfa25e9e1a48938378c300dfbf5b33e62018f295.zip
CMake-cfa25e9e1a48938378c300dfbf5b33e62018f295.tar.gz
CMake-cfa25e9e1a48938378c300dfbf5b33e62018f295.tar.bz2
ENH: Added INSTALL_PROGRAMS command and corresponding support. This involved splitting cmTarget::INSTALL into INSTALL_FILES and INSTALL_PROGRAMS enum values. INSTALL_FILES no longer adds execute permission. The INSTALL_PROGRAMS commnad takes either a list of explicit names, or a regex. It will not expand source lists like the INSTALL_FILES command will.
Diffstat (limited to 'Templates')
-rw-r--r--Templates/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Templates/CMakeLists.txt b/Templates/CMakeLists.txt
index f69f370..6c4c135 100644
--- a/Templates/CMakeLists.txt
+++ b/Templates/CMakeLists.txt
@@ -1,2 +1,3 @@
# just install the modules
-INSTALL_FILES(/share/CMake/Templates "" configure install-sh CMakeSystemConfig.cmake.in)
+INSTALL_FILES(/share/CMake/Templates "" CMakeSystemConfig.cmake.in)
+INSTALL_PROGRAMS(/share/CMake/Templates configure install-sh)