Tell user if libssh was not found

Fixes #2665
This commit is contained in:
Yury G. Kudryashov 2015-02-04 00:15:11 +03:00
parent f83c19c87d
commit e15a0849eb

View File

@ -221,6 +221,8 @@ IF (LIBSSH2_FOUND)
INCLUDE_DIRECTORIES(${LIBSSH2_INCLUDE_DIR})
SET(LIBGIT2_PC_REQUIRES "${LIBGIT2_PC_REQUIRES} libssh2")
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()
# Optional external dependency: libgssapi