By default use XmlLite on Windows.
@@ -51,20 +51,10 @@ SET(apr_name apr-2)
SET(apr_libname libapr-2)
IF(NOT APU_USE_EXPAT AND NOT APU_USE_LIBXML2 AND NOT APU_USE_XMLLITE)
- IF(EXPAT_FOUND)
- OPTION(APU_USE_EXPAT "Use Expat" ON)
- OPTION(APU_USE_LIBXML2 "Use LibXml2" OFF)
- OPTION(APU_USE_XMLLITE "Use XmlLite" OFF)
- ELSEIF(LIBXML2_FOUND)
- OPTION(APU_USE_EXPAT "Use Expat" OFF)
- OPTION(APU_USE_LIBXML2 "Use LibXml2" ON)
- OPTION(APU_USE_XMLLITE "Use XmlLite" OFF)
- ELSE()
OPTION(APU_USE_EXPAT "Use Expat" OFF)
OPTION(APU_USE_LIBXML2 "Use LibXml2" OFF)
OPTION(APU_USE_XMLLITE "Use XmlLite" ON)
ENDIF()
-ENDIF()
IF(APU_USE_EXPAT AND NOT EXPAT_FOUND)
MESSAGE(FATAL_ERROR "Expat not found")
