CPACK_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS¶
在 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
.