CPACK_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS — CMake 4.2.6 Documentation

# CPACK_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS

Added in version 3.11.

Default permissions for implicitly created directories during packaging.

This variable serves the same purpose during packaging as the `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 `CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS`.