summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-02-03 21:44:15 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2015-02-03 21:44:15 -0500
commitf9e7abcbe2e9961f0e7ee603b67b81aa59134d87 (patch)
tree3f9247a30f01b93414c67b26034b4a7766f55642
parent573a53a8f7b925b3e1163bb984c4b0ea5a1567e6 (diff)
parente15a0849ebc9c2f492c043080fd6e50373517cc8 (diff)
downloadlibgit2-f9e7abcbe2e9961f0e7ee603b67b81aa59134d87.tar.gz
Merge pull request #2870 from urkud/log-libssh-not-found
Tell user if libssh was not found
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a0f01bbb5..7db18c784 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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