From d47dfe993a813781c3c6fd2a04b37528c19b59d6 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 12 Sep 2010 13:40:16 +0200 Subject: [PATCH] Changed: Winsock definition in root CMakeLists.txt --- code/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index f890bec51..bc4fc3035 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -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()