Changed: Use LIBXML_STATIC if building static libraries

This commit is contained in:
kervala 2010-09-04 20:19:38 +02:00
parent 131ce4ced2
commit 48818ecda6

View file

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