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,107
    • Issues 4,107
    • 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
  • #22489
Closed
Open
Issue created Jul 28, 2021 by yacoub hossain@hossainContributor

install(TARGETS): Regression using components with NuGet

Just for context, we use cmake/cpack nuget generator to produce our build artifacts (nuget packages). This has been working fine until we recently updated cmake (previously we were on 3.19.8 and the regression was observed in 3.20.5).

Previously the following component specific call to install worked as expected.

image

This produced nuget packages with the following directory structure (will use runtime component as example but the same thing is observed regardless of which component);

Previous

image

New

image

Notice the bin dir is now nested in another dir that has the same name as the component it is installing, this is the regression.

I'm not sure who to assign this to so picked a name i am somewhat familiar with, sorry @brad.king, please re-assign as you see fit.

Edited May 16, 2022 by Brad King
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking