Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 4,156
    • Issues 4,156
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • 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
  • Repository
Switch branch/tag
  • cmake
  • Source
  • cmFindPackageCommand.h
Find file BlameHistoryPermalink
  • Brad King's avatar
    Teach find_(library|package) about Linux multiarch (#12037) · b41ad3b3
    Brad King authored Jun 08, 2011
    Implement support for multiarch as specified here:
    
      http://wiki.debian.org/Multiarch
      https://wiki.ubuntu.com/MultiarchSpec
    
    Detect the <arch> part of <prefix>/lib/<arch> from the implicit library
    search path from each compiler to set CMAKE_<lang>_LIBRARY_ARCHITECTURE.
    Define CMAKE_LIBRARY_ARCHITECTURE using one of these values (they should
    all be the same).  Teach the find_library and find_package commands to
    search <prefix>/lib/<arch> whenever they would search <prefix>/lib.
    b41ad3b3