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,808
    • Issues 3,808
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • 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
  • #19770

Closed
Open
Created Sep 29, 2019 by Anand Ramesh@AnandR-2D2

LOCATION property of INTERFACE libraries should be whitelisted

Hi,
I'm very new to CMake with only limited working knowledge.
I have an interface library in an external project, only meant to install a pre-built shared lib and it's DLL on Windows.

For most part everything works fine and the consumer can simply use find_package as usual to link against the interface library.
However, the consumer must copy the DLL to TARGET_FILE_DIR to be able to run.

LOCATION here is the best option to pass down the DLL path to the consumer but is currently not a whitelisted property of an interface library.

LOCATION should be whitelisted for the interface libraries.

Edited Oct 01, 2019 by Anand Ramesh
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking