22 lines
607 B
Diff
22 lines
607 B
Diff
|
diff -ru libssh-0.7.2/CMakeLists.txt patched/CMakeLists.txt
|
||
|
--- libssh-0.7.2/CMakeLists.txt 2015-09-16 08:44:35.000000000 +0200
|
||
|
+++ patched/CMakeLists.txt 2015-11-12 16:00:58.999198281 +0100
|
||
|
@@ -84,7 +84,7 @@
|
||
|
add_subdirectory(src)
|
||
|
|
||
|
# pkg-config file
|
||
|
-if (UNIX)
|
||
|
+if (UNIX OR MINGW)
|
||
|
configure_file(libssh.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libssh.pc)
|
||
|
install(
|
||
|
FILES
|
||
|
@@ -108,7 +108,7 @@
|
||
|
pkgconfig
|
||
|
)
|
||
|
endif (LIBSSH_THREADS)
|
||
|
-endif (UNIX)
|
||
|
+endif (UNIX OR MINGW)
|
||
|
|
||
|
# cmake config files
|
||
|
set(LIBSSH_LIBRARY_NAME ${CMAKE_SHARED_LIBRARY_PREFIX}ssh${CMAKE_SHARED_LIBRARY_SUFFIX})
|