Unverified Commit 72b5c531 by Edward Thomson Committed by GitHub

Merge pull request #6586 from Faless/fix/cmake_msvc

CMake: Search for ssh2 instead of libssh2.
parents 59e9df3c 933c09db
# Optional external dependency: libssh2 # Optional external dependency: libssh2
if(USE_SSH) if(USE_SSH)
find_pkglibraries(LIBSSH2 libssh2) find_pkglibraries(LIBSSH2 ssh2)
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