diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2017-11-08 19:25:29 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2017-11-08 19:27:11 (GMT) |
commit | 7e896029cd6bc0a19b7e0ed6fa7b876e0f1764b3 (patch) | |
tree | b1deb87df7b92e2a623f111b4cb8893629f0714e /Help/variable | |
parent | a4c829167dc8fa24e151d2afde7896b4588b24ad (diff) | |
download | CMake-7e896029cd6bc0a19b7e0ed6fa7b876e0f1764b3.zip CMake-7e896029cd6bc0a19b7e0ed6fa7b876e0f1764b3.tar.gz CMake-7e896029cd6bc0a19b7e0ed6fa7b876e0f1764b3.tar.bz2 |
CPack: enable setting default dir creation permissions
Introduces CPACK_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS
variable which adds support for functionality introduced
by CMAKE_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable.
Fixes #17333
# Conflicts:
# Help/release/dev/cmake-default-dir-install-permissions.rst
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CPACK_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/variable/CPACK_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS.rst b/Help/variable/CPACK_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS.rst new file mode 100644 index 0000000..83d5ce7 --- /dev/null +++ b/Help/variable/CPACK_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS.rst @@ -0,0 +1,11 @@ +CPACK_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS +------------------------------------------- + +Default permissions for implicitly created directories during packaging. + +This variable serves the same purpose during packaging as the +:variable:`CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS` variable +serves during installation (e.g. ``make install``). + +If `include(CPack)` is used then by default this variable is set to the content +of :variable:`CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS`. |