Skip to content

GitLab

  • Menu
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 3,813
    • Issues 3,813
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & 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
  • CMake
  • CMakeCMake
  • Issues
  • #17469
Closed
Open
Created Nov 15, 2017 by Stefan Potyra@sistpoty

CMAKE_INSTALL_LOCALSTATEDIR does not honor CMAKE_INSTALL_PREFIX

Hi,

I'm using cmake 3.9.5. I've tried using GNUInstallDirs CMAKE_INSTALL_LOCALSTATEDIR to refer to /var. This works great. But I f I change the CMAKE_INSTALL_PREFIX to a path in my home directory, CMAKE_INSTALL_LOCALSTATEDIR does not take this new prefix into account. Is this intended?

Thanks in advance, Stefan.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking