diff options
| author | Brad King <brad.king@kitware.com> | 2018-10-02 12:55:08 (GMT) |
|---|---|---|
| committer | Kitware Robot <kwrobot@kitware.com> | 2018-10-02 12:55:15 (GMT) |
| commit | 9682fa79e7f76d11fd2f00f90430e3fc628a1850 (patch) | |
| tree | 48c3eda9d6a5feebb4561a3b68a0ed2c08a1f4d4 /Help/command | |
| parent | 44de3428597671228c95939c4b509ebaa24f00fe (diff) | |
| parent | 5e61b79b82ec29a33179604d70834017f58afb76 (diff) | |
| download | CMake-9682fa79e7f76d11fd2f00f90430e3fc628a1850.zip CMake-9682fa79e7f76d11fd2f00f90430e3fc628a1850.tar.gz CMake-9682fa79e7f76d11fd2f00f90430e3fc628a1850.tar.bz2 | |
Merge topic 'install-directory-permissions-fix'
5e61b79b82 install: Set permissions on directories created by install(DIRECTORY)
fbd89b6753 Help: Add note about CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2428
Diffstat (limited to 'Help/command')
| -rw-r--r-- | Help/command/install.rst | 7 |
1 files changed, 7 insertions, 0 deletions
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 ^^^^^^^^^^^^^^^^^^ |
