blob: ec6818053ab7f9d5889d011c68c16903c23e4a6a [file] [log] [blame] [edit]
--- libgit2-1.1.0/src/CMakeLists.txt.orig 2021-06-23 00:06:33.219000000 +0200
+++ libgit2-1.1.0/src/CMakeLists.txt 2021-06-23 00:07:54.493725200 +0200
@@ -216,7 +216,7 @@
SET(GIT_SSH 1)
LIST(APPEND LIBGIT2_SYSTEM_INCLUDES ${LIBSSH2_INCLUDE_DIRS})
LIST(APPEND LIBGIT2_LIBS ${LIBSSH2_LIBRARIES})
- LIST(APPEND LIBGIT2_PC_LIBS ${LIBSSH2_LDFLAGS})
+ LIST(APPEND LIBGIT2_PC_REQUIRES "libssh2")
CHECK_LIBRARY_EXISTS("${LIBSSH2_LIBRARIES}" libssh2_userauth_publickey_frommemory "${LIBSSH2_LIBRARY_DIRS}" HAVE_LIBSSH2_MEMORY_CREDENTIALS)
IF (HAVE_LIBSSH2_MEMORY_CREDENTIALS)