mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-06 22:58:58 +00:00
Merge pull request #2845 from rakuco/libssh2-detection-fix
Add libssh2's library and include directories.
This commit is contained in:
commit
5a2a5771fe
@ -218,7 +218,8 @@ IF (USE_SSH)
|
||||
ENDIF()
|
||||
IF (LIBSSH2_FOUND)
|
||||
ADD_DEFINITIONS(-DGIT_SSH)
|
||||
INCLUDE_DIRECTORIES(${LIBSSH2_INCLUDE_DIR})
|
||||
INCLUDE_DIRECTORIES(${LIBSSH2_INCLUDE_DIRS})
|
||||
LINK_DIRECTORIES(${LIBSSH2_LIBRARY_DIRS})
|
||||
SET(LIBGIT2_PC_REQUIRES "${LIBGIT2_PC_REQUIRES} libssh2")
|
||||
SET(SSH_LIBRARIES ${LIBSSH2_LIBRARIES})
|
||||
ELSE()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user