Changed: Use LIBXML_STATIC if building static libraries
This commit is contained in:
parent
2511286f37
commit
f2e85f2a64
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue