-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[pcre2] Fix CMake integration. #31928
Conversation
Please mark this as draft. |
I opened #31929 now to ensure that the pristine update doesn't cause any regressions. I realize now that the CMake config may be underused (or even unused) in vcpkg (or in general) because we didn't install it due to its poor state. So this PR will probably not give the insight I was hoping for. |
Some ports break because they were searching for the PCRE2 library in |
|
5d000cd
to
880347b
Compare
Thanks for your PR. PR #31929 updated |
880347b
to
38284bf
Compare
Any progress here? - Really need PCRE2 for my project (porting libbsd to Windows) (I've merged this PR into my branch in the interim; so at least I can still work with pcre2) |
I am waiting for it to get merged upstream in PCRE2Project/pcre2#260. |
They are used only by pcre2grep which we don't build in the port.
The patch has been submitted upstream in PCRE2Project/pcre2#260.
38284bf
to
f967933
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the problem that caused every line to be edited; there was an accidental LF -> CRLF in there.
@@ -31,11 +32,11 @@ vcpkg_cmake_configure( | |||
-DPCRE2_SUPPORT_UNICODE=ON | |||
-DPCRE2_BUILD_TESTS=OFF | |||
-DPCRE2_BUILD_PCRE2GREP=OFF | |||
-DCMAKE_DISABLE_FIND_PACKAGE_BZip2=ON |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain what this part of the change is doing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BZip2 and Zlib are used by the pcre2grep
program which was disabled by the line just above.
Can we merge it? |
This PR applies the patch in PCRE2Project/pcre2#260 to fix the previously broken CMake integration.
./vcpkg x-add-version --all
and committing the result.