diff options
author | Yuyi Wang <Strawberry_Str@hotmail.com> | 2022-05-24 06:38:48 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-05-24 16:05:21 -0700 |
commit | 80431510a2b97e08bd577f39934e2b5ea9a43034 (patch) | |
tree | d575e10ff69887402f4bb404a10b109b4ce2af6b /builtin/commit.c | |
parent | a561962479cc2c1063babeeaf0e6491fd4b8b2e8 (diff) |
cmake: add pcre2 support
Fix one of the TODOs listed in the CMakeLists.txt by adding support
for building with pcre2.
As pcre2 doesn't provide cmake find module, we find it with pkgconf.
This patch also works with vcpkg on Windows, with pkgconf and pcre2
installed.
Pkgconf and pcre2 is detected automatically just like curl, expat
and iconv. The output of CMake indicates whether pcre2 is found.
Signed-off-by: Yuyi Wang <Strawberry_Str@hotmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions