|
|
@ -111,9 +111,11 @@ FIND_PACKAGE(LibXml2 REQUIRED)
|
|
|
|
FIND_PACKAGE(PNG REQUIRED)
|
|
|
|
FIND_PACKAGE(PNG REQUIRED)
|
|
|
|
FIND_PACKAGE(Jpeg)
|
|
|
|
FIND_PACKAGE(Jpeg)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IF(WITH_STATIC_LIBXML2)
|
|
|
|
|
|
|
|
SET(LIBXML2_DEFINITIONS ${LIBXML2_DEFINITIONS} -DLIBXML_STATIC)
|
|
|
|
|
|
|
|
ENDIF(WITH_STATIC_LIBXML2)
|
|
|
|
IF(WITH_STATIC)
|
|
|
|
IF(WITH_STATIC)
|
|
|
|
# libxml2 could need winsock2 library
|
|
|
|
# libxml2 could need winsock2 library
|
|
|
|
SET(LIBXML2_DEFINITIONS ${LIBXML2_DEFINITIONS} -DLIBXML_STATIC)
|
|
|
|
|
|
|
|
SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} ${WINSOCK2_LIB})
|
|
|
|
SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} ${WINSOCK2_LIB})
|
|
|
|
|
|
|
|
|
|
|
|
# on Mac OS X libxml2 requires iconv and liblzma
|
|
|
|
# on Mac OS X libxml2 requires iconv and liblzma
|
|
|
|