Changed: Winsock definition in root CMakeLists.txt

This commit is contained in:
kervala 2010-09-12 13:40:16 +02:00
parent a6c5356761
commit 1d8597eeb1

View file

@ -103,7 +103,8 @@ ENDIF(WIN32)
IF(WITH_STATIC)
# libxml2 could need winsock2 library
SET(LIBXML2_DEFINITIONS ${LIBXML2_DEFINITIONS} ${WINSOCK2_LIB} -DLIBXML_STATIC)
SET(LIBXML2_DEFINITIONS ${LIBXML2_DEFINITIONS} -DLIBXML_STATIC)
SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} ${WINSOCK2_LIB})
ENDIF(WITH_STATIC)
NL_SETUP_BUILD()