We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d72914d commit 9f334baCopy full SHA for 9f334ba
CMakeLists.txt
@@ -286,7 +286,7 @@ IF (LIBSSH2_FOUND)
286
#SET(LIBGIT2_PC_LIBS "${LIBGIT2_PC_LIBS} ${LIBSSH2_LDFLAGS}")
287
SET(SSH_LIBRARIES ${LIBSSH2_LIBRARIES})
288
289
- CHECK_LIBRARY_EXISTS("${LIBSSH2_LIBRARIES}" libssh2_userauth_publickey_frommemory "" HAVE_LIBSSH2_MEMORY_CREDENTIALS)
+ CHECK_LIBRARY_EXISTS("${LIBSSH2_LIBRARIES}" libssh2_userauth_publickey_frommemory "${LIBSSH2_LIBRARY_DIRS}" HAVE_LIBSSH2_MEMORY_CREDENTIALS)
290
IF (HAVE_LIBSSH2_MEMORY_CREDENTIALS)
291
ADD_DEFINITIONS(-DGIT_SSH_MEMORY_CREDENTIALS)
292
ENDIF()
0 commit comments