Changed: Use LIBXML_STATIC if building static libraries

This commit is contained in:
kervala 2010-09-04 20:19:38 +02:00
parent 2966ff7392
commit ddff2f28ca

View file

@ -96,6 +96,10 @@ FIND_PACKAGE(LibXml2 REQUIRED)
FIND_PACKAGE(PNG REQUIRED)
FIND_PACKAGE(Jpeg)
IF(WITH_STATIC)
SET(LIBXML2_DEFINITIONS ${LIBXML2_DEFINITIONS} -DLIBXML_STATIC)
ENDIF(WITH_STATIC)
NL_SETUP_BUILD()
IF(WITH_MFC)