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

CPM.cmake redundant return() removed #622

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

artiomn
Copy link

@artiomn artiomn commented Nov 21, 2024

CPM can work, but this return stop to loading script and functions are unavailable.

CPM can work, but this return stop to loading script and functions are unavailable.
@TheLartians
Copy link
Member

Hey, thanks for the PR! I'm not quite sure I understand implication of the change however. The intent of the early return is that if CPM is already loaded by a downstream dependency we don't overwrite the current CPM with another version and loose all state variables etc. Maybe it would be more clear if you can create a test case that fails with the current version?

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.

2 participants