summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2017-11-08 19:25:29 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2017-11-08 19:27:11 (GMT)
commit7e896029cd6bc0a19b7e0ed6fa7b876e0f1764b3 (patch)
treeb1deb87df7b92e2a623f111b4cb8893629f0714e /Help/variable
parenta4c829167dc8fa24e151d2afde7896b4588b24ad (diff)
downloadCMake-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.rst11
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`.