]> git.pld-linux.org Git - packages/libgit2.git/blob - pcre2-detect.ptch
make -devel depend on %{?_isa} variant of libgit2
[packages/libgit2.git] / pcre2-detect.ptch
1 From 39627c51f64dca83c9fc3b903079456f3c39a2d3 Mon Sep 17 00:00:00 2001
2 From: Jan Palus <jpalus@fastmail.com>
3 Date: Mon, 27 Jun 2022 10:04:23 +0200
4 Subject: [PATCH] cmake: change header used for pcre2 detection
5
6 with pcre2 regex libgit2 uses pcre2.h header instead of pcre2posix.h
7 (since f585b12), so reflect it in library detection logic
8 ---
9  cmake/FindPCRE2.cmake | 2 +-
10  1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/cmake/FindPCRE2.cmake b/cmake/FindPCRE2.cmake
13 index d4b8e6761..41c165b65 100644
14 --- a/cmake/FindPCRE2.cmake
15 +++ b/cmake/FindPCRE2.cmake
16 @@ -16,7 +16,7 @@
17  # PCRE2_FOUND  - True if pcre found.
18  
19  # Look for the header file.
20 -find_path(PCRE2_INCLUDE_DIR NAMES pcre2posix.h)
21 +find_path(PCRE2_INCLUDE_DIR NAMES pcre2.h)
22  
23  # Look for the library.
24  find_library(PCRE2_LIBRARY NAMES pcre2-8)
25 -- 
26 2.36.1
27
This page took 0.379861 seconds and 3 git commands to generate.