Blob Blame History Raw
diff -rupN exiv2-trunk/src/CMakeLists.txt exiv2-trunk-new/src/CMakeLists.txt
--- exiv2-trunk/src/CMakeLists.txt	2017-03-27 11:04:12.000000000 +0200
+++ exiv2-trunk-new/src/CMakeLists.txt	2017-07-11 13:46:46.580632871 +0200
@@ -274,6 +274,9 @@ else()
         TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} ${SSH_LIBRARIES} )
     endif()
 endif()
+if(MINGW)
+  TARGET_LINK_LIBRARIES( exiv2lib ${PRIVATE_VAR} -lws2_32 )
+endif()
 
 if( EXIV2_ENABLE_LIBXMP )
     ADD_DEPENDENCIES( exiv2lib xmp )