From e0365db43ba029f2d9b9b69a98f2685569968ba4 Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Sat, 14 Sep 2024 12:47:44 -0400 Subject: [PATCH] fix libssh cmake --- CMakeLists.txt | 2 +- vcpkg.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c4b56fd2eb..13c85a831e8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,7 +129,7 @@ else() find_package(Java REQUIRED COMPONENTS Runtime) endif() -find_package(LIBSSH 0.7.1) +find_package(LIBSSH CONFIG 0.7.1) set(CMAKE_FIND_PACKAGE_PREFER_CONFIG ON) if(WITH_PROTOBUF) diff --git a/vcpkg.json b/vcpkg.json index fc499d086bd..ea1d2a9b5b4 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -5,7 +5,8 @@ "opencv", "fmt", "libuv", - "protobuf" + "protobuf", + "libssh" ], "builtin-baseline": "37c3e63a1306562f7f59c4c3c8892ddd50fdf992" }