[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
BillyONeal
left a comment
There was a problem hiding this comment.
I fixed the problem that caused every line to be edited; there was an accidental LF -> CRLF in there.
| -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.
Can you explain what this part of the change is doing?
There was a problem hiding this comment.
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 --alland committing the result.