mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 10:20:54 +00:00
static libxml2 under linux requires lzma (tested on fedora/debian)
--HG-- branch : nimetu/static-libxml2-under-linux-requires-lzma-1412075714030
This commit is contained in:
parent
c6df57adf1
commit
3e209147b0
1 changed files with 4 additions and 0 deletions
|
@ -110,6 +110,10 @@ FIND_PACKAGE(Jpeg)
|
||||||
|
|
||||||
IF(WITH_STATIC_LIBXML2)
|
IF(WITH_STATIC_LIBXML2)
|
||||||
SET(LIBXML2_DEFINITIONS ${LIBXML2_DEFINITIONS} -DLIBXML_STATIC)
|
SET(LIBXML2_DEFINITIONS ${LIBXML2_DEFINITIONS} -DLIBXML_STATIC)
|
||||||
|
IF(NOT WIN32 AND NOT APPLE)
|
||||||
|
FIND_PACKAGE(LibLZMA REQUIRED)
|
||||||
|
SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} ${LIBLZMA_LIBRARIES})
|
||||||
|
ENDIF(NOT WIN32 AND NOT APPLE)
|
||||||
ENDIF(WITH_STATIC_LIBXML2)
|
ENDIF(WITH_STATIC_LIBXML2)
|
||||||
|
|
||||||
IF(WITH_STATIC)
|
IF(WITH_STATIC)
|
||||||
|
|
Loading…
Reference in a new issue