diff options
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 07194de..b9a59e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,14 +109,15 @@ file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/bindings) set( SCHEMA_DIR ${CMAKE_SOURCE_DIR}/schemas ) # Generate bindings - +# WARNING: The inclusion order in SCHEMAS matters with xerces < 3.1.0. It seems without XMLUni::fgXercesHandleMultipleImports at least kolabformat-xcard.xsd MUST be before xCard.xsd, +# otherwise the compiled schema will simply lack the definitions of kolabformat-xcard.xsd (this affects xsdbin only). set( SCHEMAS ${SCHEMA_DIR}/ical/kolabformat-xcal.xsd ${SCHEMA_DIR}/ical/iCalendar-params.xsd ${SCHEMA_DIR}/ical/iCalendar-props.xsd ${SCHEMA_DIR}/ical/iCalendar-valtypes.xsd - ${SCHEMA_DIR}/xCard.xsd ${SCHEMA_DIR}/kolabformat-xcard.xsd + ${SCHEMA_DIR}/xCard.xsd ${SCHEMA_DIR}/kolabformat.xsd ) |