Commit f94626e0 authored by Ben Boeckel's avatar Ben Boeckel
Browse files

ParaViewClient: output the error when conversion fails

parent 50a0bc64
Pipeline #130772 passed with stage
......@@ -542,10 +542,11 @@ if (_paraview_generate_proxy_documentation_run AND CMAKE_SCRIPT_MODE_FILE)
"${_paraview_gpd_to_xml}"
"${_paraview_gpd_xml}"
OUTPUT_VARIABLE _paraview_gpd_output
ERROR_VARIABLE _paraview_gpd_error
RESULT_VARIABLE _paraview_gpd_result)
if (_paraview_gpd_result)
message(FATAL_ERROR
"Failed to convert servermanager XML")
"Failed to convert servermanager XML: ${_paraview_gpd_error}")
endif ()
string(APPEND _paraview_gpd_xslt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment