mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
cmake: Add WITH_LEGACY dependencies
This commit is contained in:
parent
85bd58ef56
commit
576411135f
@ -27,12 +27,10 @@ option(BUILD_SHARED_LIBS "Build shared libraries" ON)
|
|||||||
option(LIBXML2_WITH_CATALOG "Add the Catalog support" ON)
|
option(LIBXML2_WITH_CATALOG "Add the Catalog support" ON)
|
||||||
option(LIBXML2_WITH_DEBUG "Add the debugging module" ON)
|
option(LIBXML2_WITH_DEBUG "Add the debugging module" ON)
|
||||||
option(LIBXML2_WITH_HTML "Add the HTML support" ON)
|
option(LIBXML2_WITH_HTML "Add the HTML support" ON)
|
||||||
option(LIBXML2_WITH_HTTP "Add the HTTP support" OFF)
|
|
||||||
option(LIBXML2_WITH_ICONV "Add ICONV support" ON)
|
option(LIBXML2_WITH_ICONV "Add ICONV support" ON)
|
||||||
option(LIBXML2_WITH_ICU "Add ICU support" OFF)
|
option(LIBXML2_WITH_ICU "Add ICU support" OFF)
|
||||||
option(LIBXML2_WITH_ISO8859X "Add ISO8859X support if no iconv" ON)
|
option(LIBXML2_WITH_ISO8859X "Add ISO8859X support if no iconv" ON)
|
||||||
option(LIBXML2_WITH_LEGACY "Add deprecated APIs for compatibility" OFF)
|
option(LIBXML2_WITH_LEGACY "Add deprecated APIs for compatibility" OFF)
|
||||||
option(LIBXML2_WITH_LZMA "Use liblzma" OFF)
|
|
||||||
option(LIBXML2_WITH_MODULES "Add the dynamic modules support" ON)
|
option(LIBXML2_WITH_MODULES "Add the dynamic modules support" ON)
|
||||||
option(LIBXML2_WITH_OUTPUT "Add the serialization support" ON)
|
option(LIBXML2_WITH_OUTPUT "Add the serialization support" ON)
|
||||||
option(LIBXML2_WITH_PATTERN "Add the xmlPattern selection interface" ON)
|
option(LIBXML2_WITH_PATTERN "Add the xmlPattern selection interface" ON)
|
||||||
@ -48,7 +46,16 @@ option(LIBXML2_WITH_TLS "Enable thread-local storage" OFF)
|
|||||||
option(LIBXML2_WITH_VALID "Add the DTD validation support" ON)
|
option(LIBXML2_WITH_VALID "Add the DTD validation support" ON)
|
||||||
option(LIBXML2_WITH_XINCLUDE "Add the XInclude support" ON)
|
option(LIBXML2_WITH_XINCLUDE "Add the XInclude support" ON)
|
||||||
option(LIBXML2_WITH_XPATH "Add the XPATH support" ON)
|
option(LIBXML2_WITH_XPATH "Add the XPATH support" ON)
|
||||||
option(LIBXML2_WITH_ZLIB "Use libz" OFF)
|
|
||||||
|
cmake_dependent_option(
|
||||||
|
LIBXML2_WITH_HTTP "Add the HTTP support" OFF
|
||||||
|
"NOT LIBXML2_WITH_LEGACY" ON)
|
||||||
|
cmake_dependent_option(
|
||||||
|
LIBXML2_WITH_LZMA "Use liblzma" OFF
|
||||||
|
"NOT LIBXML2_WITH_LEGACY" ON)
|
||||||
|
cmake_dependent_option(
|
||||||
|
LIBXML2_WITH_ZLIB "Use libz" OFF
|
||||||
|
"NOT LIBXML2_WITH_LEGACY" ON)
|
||||||
|
|
||||||
cmake_dependent_option(
|
cmake_dependent_option(
|
||||||
LIBXML2_WITH_C14N "Add the Canonicalization support" ON
|
LIBXML2_WITH_C14N "Add the Canonicalization support" ON
|
||||||
@ -62,9 +69,6 @@ cmake_dependent_option(
|
|||||||
cmake_dependent_option(
|
cmake_dependent_option(
|
||||||
LIBXML2_WITH_SCHEMAS "Add XML Schemas 1.0 support" ON
|
LIBXML2_WITH_SCHEMAS "Add XML Schemas 1.0 support" ON
|
||||||
"LIBXML2_WITH_PATTERN;LIBXML2_WITH_REGEXPS" OFF)
|
"LIBXML2_WITH_PATTERN;LIBXML2_WITH_REGEXPS" OFF)
|
||||||
cmake_dependent_option(
|
|
||||||
LIBXML2_WITH_RELAXNG "Add Relax-NG support" ON
|
|
||||||
"LIBXML2_WITH_REGEXPS;LIBXML2_WITH_SCHEMAS" OFF)
|
|
||||||
cmake_dependent_option(
|
cmake_dependent_option(
|
||||||
LIBXML2_WITH_SCHEMATRON "Add Schematron support" ON
|
LIBXML2_WITH_SCHEMATRON "Add Schematron support" ON
|
||||||
"LIBXML2_WITH_PATTERN;LIBXML2_WITH_XPATH" OFF)
|
"LIBXML2_WITH_PATTERN;LIBXML2_WITH_XPATH" OFF)
|
||||||
@ -78,6 +82,10 @@ cmake_dependent_option(
|
|||||||
LIBXML2_WITH_XPTR "Add the XPointer support" ON
|
LIBXML2_WITH_XPTR "Add the XPointer support" ON
|
||||||
"LIBXML2_WITH_XPATH" OFF)
|
"LIBXML2_WITH_XPATH" OFF)
|
||||||
|
|
||||||
|
cmake_dependent_option(
|
||||||
|
LIBXML2_WITH_RELAXNG "Add Relax-NG support" ON
|
||||||
|
"LIBXML2_WITH_REGEXPS;LIBXML2_WITH_SCHEMAS" OFF)
|
||||||
|
|
||||||
if(LIBXML2_WITH_PYTHON)
|
if(LIBXML2_WITH_PYTHON)
|
||||||
find_package(Python COMPONENTS Interpreter Development REQUIRED)
|
find_package(Python COMPONENTS Interpreter Development REQUIRED)
|
||||||
#set(LIBXML2_PYTHON_INSTALL_DIR ${Python_SITEARCH} CACHE PATH "Python bindings install directory")
|
#set(LIBXML2_PYTHON_INSTALL_DIR ${Python_SITEARCH} CACHE PATH "Python bindings install directory")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user