Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treat relative paths as relative to parent project's remote #522

Merged
merged 4 commits into from
Nov 30, 2023
Merged

Treat relative paths as relative to parent project's remote #522

merged 4 commits into from
Nov 30, 2023

Conversation

inkychris
Copy link
Contributor

Closes #520.

Copy link
Member

@TheLartians TheLartians left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for the pull request and even adding a test case!

I've refactored the test so it uses relative URLs defined in a different project (this branch of testpack-fibadder), so it won't break the tests on third-party forks of CPM.cmake.

After the change the test cases failed on CI, as it turns out the feature was introduced in CMake 3.27 but we were testing on 3.25 and 3.16. Not sure why they were previously passing, but we've updated our test runners and now seems to work fine.

@TheLartians TheLartians merged commit 369f131 into cpm-cmake:master Nov 30, 2023
8 checks passed
@inkychris
Copy link
Contributor Author

Thanks for getting this merged! I realised it probably should have been an integration test instead of a unit-test but picked the easiest thing to copy/paste 😅

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.

Honour new relative git URL behaviour controlled by CMP0150
2 participants