summaryrefslogtreecommitdiff
path: root/Source/cmInstallCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-02-24 11:41:40 -0500
committerBrad King <brad.king@kitware.com>2009-02-24 11:41:40 -0500
commit1595b8e69eac0d2dbab6ac29663a85d8d486a5cc (patch)
treeded9bc2ffe1ee4ca3adb4f19a24534877d908b85 /Source/cmInstallCommand.h
parenta79f8cd4c156b01ef0305a30a9c0ca2dcbf9a1cc (diff)
downloadcmake-1595b8e69eac0d2dbab6ac29663a85d8d486a5cc.tar.gz
ENH: Add install(DIRECTORY) option 'OPTIONAL'
This adds the OPTIONAL option to the install(DIRECTORY) command. It tells the installation rule that it is not an error if the source directory does not exist. See issue #8394.
Diffstat (limited to 'Source/cmInstallCommand.h')
-rw-r--r--Source/cmInstallCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallCommand.h b/Source/cmInstallCommand.h
index 0b7ae7a3e8..b8b01bc17d 100644
--- a/Source/cmInstallCommand.h
+++ b/Source/cmInstallCommand.h
@@ -215,7 +215,7 @@ public:
" install(DIRECTORY dirs... DESTINATION <dir>\n"
" [FILE_PERMISSIONS permissions...]\n"
" [DIRECTORY_PERMISSIONS permissions...]\n"
- " [USE_SOURCE_PERMISSIONS]\n"
+ " [USE_SOURCE_PERMISSIONS] [OPTIONAL]\n"
" [CONFIGURATIONS [Debug|Release|...]]\n"
" [COMPONENT <component>] [FILES_MATCHING]\n"
" [[PATTERN <pattern> | REGEX <regex>]\n"