Commit 9388bcdd authored by Ben Boeckel's avatar Ben Boeckel
Browse files

vtkModule: improve an error message for why a module was expected

parent 896368c6
......@@ -963,7 +963,8 @@ function (vtk_module_scan)
if (DEFINED "_vtk_scan_provide_${_vtk_scan_module_depend}")
if (NOT _vtk_scan_provide_${_vtk_scan_module_depend})
message(FATAL_ERROR
"The ${_vtk_scan_module_depend} module should be provided, but is disabled.")
"The ${_vtk_scan_module_depend} module should be provided (as "
"required by ${_vtk_scan_module}), but is disabled.")
endif ()
continue ()
endif ()
......
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