Skip to content

Conversation

@sean-parent
Copy link

Change CPM.cmake to attempt to locate packages using organization-prefixed names (e.g., org-library) if the standard name is not found. This helps resolve naming conflicts and improves compatibility with packages installed under organization-qualified names. README documentation has been updated to reflect this behavior.

CPM.cmake now attempts to locate packages using organization-prefixed names (e.g., org-library) if the standard name is not found. This helps resolve naming conflicts and improves compatibility with packages installed under organization-qualified names. Documentation has been updated to reflect this behavior.
sean-parent added a commit to stlab/cpp-library that referenced this pull request Nov 20, 2025
Clarifies that GitHub repository names must match package names, including namespace prefixes, for CPM compatibility. Updates usage examples, instructions, and project links to reflect this requirement and prevent issues with CPM's local package finding and source fetching.

Repository naming requirements may be backed out if [this CPM PR](cpm-cmake/CPM.cmake#682) lands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant