Changed: Use LIBXML_STATIC if building static libraries

hg/feature/sound
kervala 15 years ago
parent 2966ff7392
commit ddff2f28ca

@ -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)

Loading…
Cancel
Save