--- libssh-0.9.3/src/CMakeLists.txt.orig	2019-12-11 10:29:17.304555400 +0300
+++ libssh-0.9.3/src/CMakeLists.txt	2019-12-11 10:30:17.910661800 +0300
@@ -419,6 +418,7 @@
             "-DLIBSSH_STATIC"
     )
   endif (WIN32)
+  install(TARGETS ssh-static DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries)
 endif (BUILD_STATIC_LIB)
 
 message(STATUS "Threads_FOUND=${Threads_FOUND}")
