mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-21 18:03:54 +00:00
Merge pull request #2870 from urkud/log-libssh-not-found
Tell user if libssh was not found
This commit is contained in:
commit
f9e7abcbe2
@ -221,6 +221,8 @@ IF (LIBSSH2_FOUND)
|
|||||||
INCLUDE_DIRECTORIES(${LIBSSH2_INCLUDE_DIR})
|
INCLUDE_DIRECTORIES(${LIBSSH2_INCLUDE_DIR})
|
||||||
SET(LIBGIT2_PC_REQUIRES "${LIBGIT2_PC_REQUIRES} libssh2")
|
SET(LIBGIT2_PC_REQUIRES "${LIBGIT2_PC_REQUIRES} libssh2")
|
||||||
SET(SSH_LIBRARIES ${LIBSSH2_LIBRARIES})
|
SET(SSH_LIBRARIES ${LIBSSH2_LIBRARIES})
|
||||||
|
ELSE()
|
||||||
|
MESSAGE(STATUS "LIBSSH2 not found. Set CMAKE_PREFIX_PATH if it is installed outside of the default search path.")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
# Optional external dependency: libgssapi
|
# Optional external dependency: libgssapi
|
||||||
|
Loading…
Reference in New Issue
Block a user