summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-10-01 16:10:33 -0400
committerKyle Edwards <kyle.edwards@kitware.com>2018-10-01 16:10:33 -0400
commitfbd89b6753848f44b6b7179cfc07a619263b070b (patch)
tree43e9e03980b1b8ec4c3053dc7102ea0ebd4ee4ea
parent17653671e4007004d4d7779b4702c9a85b7d5a65 (diff)
downloadcmake-fbd89b6753848f44b6b7179cfc07a619263b070b.tar.gz
Help: Add note about CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
-rw-r--r--Help/command/install.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 3a2b4da621..08c57186f7 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -89,6 +89,13 @@ Command signatures that install files may print messages during
installation. Use the :variable:`CMAKE_INSTALL_MESSAGE` variable
to control which messages are printed.
+Many of the ``install()`` variants implicitly create the directories
+containing the installed files. If
+:variable:`CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS` is set, these
+directories will be created with the permissions specified. Otherwise,
+they will be created according to the uname rules on Unix-like platforms.
+Windows platforms are unaffected.
+
Installing Targets
^^^^^^^^^^^^^^^^^^