Skip to content

Improve CMake package config files installation #276

@cmannett85

Description

@cmannett85

Although the CMake documentation appears to require platform-specific config file locations, it caveats that with:

This is merely a convention, so all (W) and (U) directories are still searched on all platforms

Due to this, and because with not deploying as a framework/bundle thing on MacOS, we can just set the default location to share/arg_router which conveniently is what vcpkg wants.

It would be good to allow this location to be overridden by the user if required, so expose a cache variable too.

  • Update install.cmake to use single location using a cache variable, defaulting to share/arg_router
  • Update GHAs for new location

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions