Files
MINGW-packages/mingw-w64-libssh/001-install-static-lib.patch
Biswapriyo Nath 65cc08eff4 libssh: Remove install script, use ninja
This fixes installation in ucrt and clang environments.
The cmake files are now modified with sed command to
add _IMPORT_PREFIX replacing full mingw prefix path.
2021-07-08 09:11:38 +05:30

11 lines
389 B
Diff

--- 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}")