Commit 933c09db by Fabio Alessandrelli

CMake: Search for ssh2 instead of libssh2.

Fixes "CMake Error: could not resolve ssh2" on Windows-MSVC.
parent f041a94e
# Optional external dependency: libssh2
if(USE_SSH)
find_pkglibraries(LIBSSH2 libssh2)
find_pkglibraries(LIBSSH2 ssh2)
if(NOT LIBSSH2_FOUND)
find_package(LibSSH2)
set(LIBSSH2_INCLUDE_DIRS ${LIBSSH2_INCLUDE_DIR})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment