Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: Patch commands fail trying to re-apply the same patch twice #664

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

Open
BohdanBuinich wants to merge 1 commit into cpm-cmake:master
base: master
Choose a base branch
Loading
from BohdanBuinich:feat/fix_patch_command

Conversation

@BohdanBuinich
Copy link

@BohdanBuinich BohdanBuinich commented Jun 3, 2025

Fixes #618

aaeberharter, christopherbate, and edunad reacted with heart emoji
Copy link
Author

@TheLartians, Could you please review this change and let me know if you agree with it?

Copy link

I pulled CPM.cmake from the PR and it works for me.
cmake version 3.31.6-msvc6 (bundled with Visual Studio 2022)

Thank you

Copy link

PATCH_OPTIONS are mentioned in README.md but are not used in CPM.cmake. After this PR is merged we should discuss how to add meaningful patch options.

Copy link

edunad commented Jun 19, 2025

Any updates? I'm using the temp fix of SET after the first time cmake runs, but that doesn't work 100% of the time, would be awesome to get this merged soon 💖

christopherbate reacted with eyes emoji

Copy link
Author

@TheLartians, what do you think about this fix? Or do you think it’s too messy and have a better idea for handling it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[BUG] Patch commands fail trying to re-apply the same patch twice

AltStyle によって変換されたページ (->オリジナル) /