From fbd89b6753848f44b6b7179cfc07a619263b070b Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Mon, 1 Oct 2018 16:10:33 -0400 Subject: Help: Add note about CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS --- Help/command/install.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Help/command/install.rst b/Help/command/install.rst index 3a2b4da..08c5718 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 ^^^^^^^^^^^^^^^^^^ -- cgit v0.12