GNUInstallDirs: Revert "Apply Debian multiarch LIBDIR to more prefixes"
Revert !6748 (merged). There are separate
problems with activating multiarch LIBDIR
for each prefix it added:
-
Prefix
/
is often used to stage an installation withDESTDIR
for inclusion in a tarball package or similar. -
Prefix
/usr/local
is the defaultCMAKE_INSTALL_PREFIX
, causing the multiarchLIBDIR
to be cached after the first configuration, even if the prefix changes later.
Revert the change for now, except for the documentation update.
Further discussion will be needed to select a way to enable
multiarch LIBDIR
for /
and /usr/local
.
Fixes: #23365 (closed)
Issue: #19698 (closed)
Backport: release