vcpkg/ports/curl/0001_cmake.patch
Phoebe 9ffac4d56e [Curl] Upgrades 2019.05.08 (#6429)
* [Curl] Upgrades 2019.05.08

* merge changes from master

* Fix cpr failure

* Fix the case issue in Linux

* Update patch and portfile

* Update the portfile that changed by my mistake

* [curl] Update to 7.65.0 to skip USE_DARWINSSL regression. Disable PERL since we don't build the manual anyway.

* Rename DARWINSSL to SECTRANSP

* Update the name and error detect
2019-05-26 16:53:41 -07:00

14 lines
358 B
Diff

diff --git a/CMake/FindLibSSH2.cmake b/CMake/FindLibSSH2.cmake
index 84822db..0d62194 100644
--- a/CMake/FindLibSSH2.cmake
+++ b/CMake/FindLibSSH2.cmake
@@ -12,7 +12,7 @@ endif()
find_path(LIBSSH2_INCLUDE_DIR libssh2.h
)
-find_library(LIBSSH2_LIBRARY NAMES ssh2
+find_library(LIBSSH2_LIBRARY NAMES ssh2 libssh2
)
if(LIBSSH2_INCLUDE_DIR)