--- 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 @@ -412,6 +412,7 @@ if (WIN32) target_compile_definitions(ssh-static PUBLIC "LIBSSH_STATIC") endif (WIN32) + install(TARGETS ssh-static DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT libraries) endif (BUILD_STATIC_LIB) message(STATUS "Threads_FOUND=${Threads_FOUND}")