Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4,163
    • Issues 4,163
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • 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
  • Issues
  • #18640
Closed
Open
Issue created Nov 27, 2018 by Pascal Bach@bachp

Support `LIB_SUFFIX` in `GNUInstallDirs.cmake`

When installing on multi lib systems it is required to install to either lib, lib32 or lib64.

Currently GNUInstallDirs does some magic trying to figure out if it should be installed to lib, lib64 or some debian specific location.

However it is common to see LIB_SUFFIX as supported as a parameter that allows to configure the lib directory to lib${LIB_SUFFIX}.

It would be good if GNUInstallDirs would support that parameter too.

Possible issues

  1. There are are already many Projects manually appending ${LIB_SUFFIX} to their lib. If used in conjunction with GNUInstallDirs these would duplicate the suffix (e.g. lib6464). One possible solution would be to use a different name like CMAKE_LIB_SUFFIX. This if either LIB_SUFFIX or CMAKE_LIB_SUFFIX is set it would work. However it would still duplicate if both are set.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking