install: Clean up documentation and behavior around CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
is not currently documented anywhere on the install()
page, and also doesn't work for install(DIRECTORY)
. This MR rectifies both of these issues.
Fixes #9620 (closed).
Edited by Kyle Edwards