Changed: Winsock definition in root CMakeLists.txt
This commit is contained in:
parent
372920f72e
commit
d47dfe993a
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue