Commit e577da9d by Edward Thomson

Revert "CMake: Search for ssh2 instead of libssh2."

parent edf559f9
# Optional external dependency: libssh2 # Optional external dependency: libssh2
if(USE_SSH) if(USE_SSH)
find_pkglibraries(LIBSSH2 ssh2) find_pkglibraries(LIBSSH2 libssh2)
if(NOT LIBSSH2_FOUND) if(NOT LIBSSH2_FOUND)
find_package(LibSSH2) find_package(LibSSH2)
set(LIBSSH2_INCLUDE_DIRS ${LIBSSH2_INCLUDE_DIR}) 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