mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-05 04:40:07 +00:00
Merge pull request #3232 from Therzok/patch-2
Quote LIBSSH2_LIBRARIES call
This commit is contained in:
commit
3e5b553ae1
@ -271,7 +271,7 @@ IF (LIBSSH2_FOUND)
|
||||
SET(LIBGIT2_PC_REQUIRES "${LIBGIT2_PC_REQUIRES} libssh2")
|
||||
SET(SSH_LIBRARIES ${LIBSSH2_LIBRARIES})
|
||||
|
||||
CHECK_LIBRARY_EXISTS(${LIBSSH2_LIBRARIES} libssh2_userauth_publickey_frommemory "" HAVE_LIBSSH2_MEMORY_CREDENTIALS)
|
||||
CHECK_LIBRARY_EXISTS("${LIBSSH2_LIBRARIES}" libssh2_userauth_publickey_frommemory "" HAVE_LIBSSH2_MEMORY_CREDENTIALS)
|
||||
IF (HAVE_LIBSSH2_MEMORY_CREDENTIALS)
|
||||
ADD_DEFINITIONS(-DGIT_SSH_MEMORY_CREDENTIALS)
|
||||
ENDIF()
|
||||
|
Loading…
Reference in New Issue
Block a user