Skip to content

Commit dd70494

Browse files
committed
Set proper pkg-config dependency for pcre2
Signed-off-by: Igor Raits <i.gnatenko.brain@gmail.com>
1 parent cd6ed4e commit dd70494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ ELSEIF(REGEX_BACKEND STREQUAL "pcre2")
140140

141141
LIST(APPEND LIBGIT2_SYSTEM_INCLUDES ${PCRE2_INCLUDE_DIRS})
142142
LIST(APPEND LIBGIT2_LIBS ${PCRE2_LIBRARIES})
143-
LIST(APPEND LIBGIT2_PC_REQUIRES "libpcre2")
143+
LIST(APPEND LIBGIT2_PC_REQUIRES "libpcre2-8")
144144
ELSEIF(REGEX_BACKEND STREQUAL "pcre")
145145
ADD_FEATURE_INFO(regex ON "using system PCRE")
146146
SET(GIT_REGEX_PCRE 1)

0 commit comments

Comments
 (0)