message(STATUS "Found XSD executable: ${XSD_EXECUTABLE} version ${XSD_VERSION_WITHOUT_TRAILING_NEWLINE}")
message(STATUS "Found XSD executable \"${XSD_EXECUTABLE}\" version ${XSD_VERSION_WITHOUT_TRAILING_NEWLINE}")
message(STATUS "Found XSD headers in ${XSD_INCLUDE_DIR}")
endif()
else()
if(XSD_FIND_REQUIRED)
message(FATAL_ERROR "Cannot find xsdcxx command: please install XSD / check xsd binary is in your sytem PATH.")
message(FATAL_ERROR "Cannot find xsdcxx command: please install XSD / check xsd binary is in your sytem PATH.\n XSDDIR is set to $ENV{XSD_DIR}\nXSD_INCLUDE_DIR is ${XSD_INCLUDE_DIR}\nXSD_EXECUTABLE is ${XSD_EXECUTABLE}")