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

cmake: drop posix dependency from pcre* detection #6333

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

jpalus
Copy link
Contributor

@jpalus jpalus commented Jun 27, 2022

since f585b12 neither PCRE nor PCRE2 backends rely on POSIX regex, so
reflect it in library detection logic

@ethomson
Copy link
Member

ethomson commented Jul 7, 2022

This seems correct to me. But do we need to correct the pcre.h / pcreposix.h detection in FindPCRE.cmake as well? 🤔

@jpalus
Copy link
Contributor Author

jpalus commented Jul 7, 2022

Yes PCRE detection needs adjustment as well: both include file and linked libraries. Let me handle it too.

since f585b12 neither PCRE nor PCRE2 backends rely on POSIX regex, so
reflect it in library detection logic
@jpalus jpalus changed the title cmake: change header used for pcre2 detection cmake: drop posix dependency from pcre* detection Jul 7, 2022
@jpalus
Copy link
Contributor Author

jpalus commented Jul 7, 2022

Updated PR with PCRE changes.

@ethomson
Copy link
Member

ethomson commented Jul 7, 2022

Awesome, thanks @jpalus !

@ethomson ethomson merged commit 92ffdd2 into libgit2:main Jul 7, 2022
@jpalus jpalus deleted the pcre2-detection branch July 7, 2022 17:07
@ethomson ethomson added the bug label Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants