1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-25 10:50:08 +03:00

cmake: Fix WITH_RELAXNG option

Dependent options must come after dependencies.
This commit is contained in:
Nick Wellnhofer 2025-03-03 10:12:18 +01:00
parent a0f156fffb
commit 66fdf94c55

View File

@ -60,12 +60,12 @@ cmake_dependent_option(
cmake_dependent_option(
LIBXML2_WITH_READER "Add the xmlReader parsing interface" ON
"LIBXML2_WITH_PUSH" OFF)
cmake_dependent_option(
LIBXML2_WITH_RELAXNG "Add Relax-NG support" ON
"LIBXML2_WITH_REGEXPS;LIBXML2_WITH_SCHEMAS" OFF)
cmake_dependent_option(
LIBXML2_WITH_SCHEMAS "Add XML Schemas 1.0 support" ON
"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(
LIBXML2_WITH_SCHEMATRON "Add Schematron support" ON
"LIBXML2_WITH_PATTERN;LIBXML2_WITH_XPATH" OFF)