GNUInstallDirs: Add internal helper to compute specific defaults

Create an internal `_GNUInstallDirs_<dir>_get_default` helper and
generalize the logic used to update the `CMAKE_INSTALL_LIBDIR` default.

Signed-off-by: Cristian Le <git@lecris.dev>
1 file changed