From 0ec0cb1b19a1521218d52cc420dce6dcdd6cf1e4 Mon Sep 17 00:00:00 2001 From: "vladimir.kuznetsov" Date: Sun, 4 Dec 2022 01:43:34 +0300 Subject: [PATCH] feature: added libssh submodule --- .gitmodules | 3 +++ client/3rd/libssh | 1 + client/CMakeLists.txt | 3 +++ 3 files changed, 7 insertions(+) create mode 160000 client/3rd/libssh diff --git a/.gitmodules b/.gitmodules index a8295ac7..c410a486 100644 --- a/.gitmodules +++ b/.gitmodules @@ -25,3 +25,6 @@ [submodule "client/3rd/qtkeychain"] path = client/3rd/qtkeychain url = https://github.com/frankosterfeld/qtkeychain.git +[submodule "client/3rd/libssh"] + path = client/3rd/libssh + url = https://git.libssh.org/projects/libssh.git/ diff --git a/client/3rd/libssh b/client/3rd/libssh new file mode 160000 index 00000000..438cc6df --- /dev/null +++ b/client/3rd/libssh @@ -0,0 +1 @@ +Subproject commit 438cc6df52ca234ba8f04734e628ca74c03b2971 diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 557188d1..2fe60265 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -42,6 +42,9 @@ set(BUILD_SHARED_LIBS OFF) add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/3rd/qtkeychain) set(LIBS ${LIBS} qt6keychain) +add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/3rd/libssh/include) +set(LIBS ${LIBS} ssh) + include_directories( ${CMAKE_CURRENT_LIST_DIR}/3rd/QSimpleCrypto/include ${CMAKE_CURRENT_LIST_DIR}/3rd/OpenSSL/include