Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud@urkud.name>2015-02-04 00:15:11 +0300
committerYury G. Kudryashov <urkud@urkud.name>2015-02-04 00:29:09 +0300
commite15a0849ebc9c2f492c043080fd6e50373517cc8 (patch)
tree300678f50352c372bf35b415ecaab448fc6438e5 /CMakeLists.txt
parentf83c19c87d6f484b72c24125aaac98bdc365c4b5 (diff)
Tell user if libssh was not found
Fixes #2665
Diffstat (limited to 'CMakeLists.txt')
-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