Explicitly add an entry to link with ws2_32 on Windows.

Otherwise the build would fail if the Qt libraries do not pull
in ws2_32.

svn path=/trunk/kdesupport/qca/; revision=1196710
This commit is contained in:
Andre Heinecke 2010-11-13 23:16:29 +00:00
parent 6f02652a99
commit 352e9bffbf

View File

@ -137,7 +137,7 @@ ADD_LIBRARY(qca SHARED ${SOURCES})
TARGET_LINK_LIBRARIES(qca ${QT_QTCORE_LIBRARY}) TARGET_LINK_LIBRARIES(qca ${QT_QTCORE_LIBRARY})
if(WIN32) if(WIN32)
TARGET_LINK_LIBRARIES(qca crypt32) TARGET_LINK_LIBRARIES(qca crypt32 ws2_32)
endif(WIN32) endif(WIN32)
if(APPLE) if(APPLE)