Don't exclude libssh2 from MinGW

It reportedly works. It does not however work when cross-compiling on
Travis, so let's disable it there.

This fixes #2311.
This commit is contained in:
Carlos Martín Nieto 2014-04-30 10:55:58 +02:00
parent 096ac799a3
commit f5fc63bc0c
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ matrix:
fast_finish: true
include:
- compiler: i586-mingw32msvc-gcc
env: OPTIONS="-DBUILD_CLAR=OFF -DWIN32=ON -DMINGW=ON"
env: OPTIONS="-DBUILD_CLAR=OFF -DWIN32=ON -DMINGW=ON -DUSE_SSH=OFF"
- compiler: gcc
env: COVERITY=1
allow_failures:

View File

@ -195,7 +195,7 @@ ELSE()
ENDIF()
# Optional external dependency: libssh2
IF (USE_SSH AND NOT MINGW)
IF (USE_SSH)
FIND_PACKAGE(LIBSSH2)
ENDIF()
IF (LIBSSH2_FOUND)