vcpkg/ports/libssh2/usage
Kai Pastor 23fa37729d
[libssh2] Update to 0.11.0 (#32232)
* [libssh2] Update to 1.11.0

* Control usage
2023-06-26 13:07:06 -07:00

5 lines
210 B
Plaintext

libssh2 provides CMake targets:
find_package(Libssh2 CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:Libssh2::libssh2_shared>,Libssh2::libssh2_shared,Libssh2::libssh2_static>)