Merge pull request #2870 from urkud/log-libssh-not-found

Tell user if libssh was not found
This commit is contained in:
Edward Thomson 2015-02-03 21:44:15 -05:00
commit f9e7abcbe2

View File

@ -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