[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:41:37 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=151ed86
The following commit has been merged in the master branch:
commit 151ed86895634c7c15e7f5ee89e37e2e93ffc8b3
Author: HumanDynamo <caulier.gilles at gmail.com>
Date: Fri May 14 06:24:09 2010 +0000
Exiv2 need to be linked with Winsock32 under windows.
---
src/CMakeLists.txt | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index fb39b5a..a40b5a9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -187,7 +187,13 @@ SET_TARGET_PROPERTIES( exiv2 PROPERTIES VERSION ${GENERIC_LIB_VERSION}
DEFINE_SYMBOL EXV_BUILDING_LIB
)
-TARGET_LINK_LIBRARIES( exiv2 ${EXPAT_LIBRARIES} )
+IF(WIN32)
+ SET(OS_SPECIFIC_LIBS wsock32)
+ELSE(WIN32)
+ SET(OS_SPECIFIC_LIBS )
+ENDIF(WIN32)
+
+TARGET_LINK_LIBRARIES( exiv2 ${EXPAT_LIBRARIES} ${OS_SPECIFIC_LIBS})
if( EXIV2_EXIV2_ENABLE_LIBXMP )
TARGET_LINK_LIBRARIES( exiv2 ${XMPLIB} )
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list