CPACK_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS — CMake 3.25.2 Documentation

# CPACK_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS

New 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`.