Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,105
    • Issues 4,105
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Merge requests
  • !7127

GNUInstallDirs: Revert "Apply Debian multiarch LIBDIR to more prefixes"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Brad King requested to merge brad.king/cmake:GNUInstallDirs-revert-multiarch-prefixes into master Mar 30, 2022
  • Overview 3
  • Commits 1
  • Pipelines 1
  • Changes 3

Revert !6748 (merged). There are separate problems with activating multiarch LIBDIR for each prefix it added:

  • Prefix / is often used to stage an installation with DESTDIR for inclusion in a tarball package or similar.

  • Prefix /usr/local is the default CMAKE_INSTALL_PREFIX, causing the multiarch LIBDIR 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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: GNUInstallDirs-revert-multiarch-prefixes