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