mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 00:47:50 +08:00
5 lines
210 B
Plaintext
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>)
|