Skip to content

FindMatlab: Guard against nonexistent installation

Logic added by !1970 (merged) assumes that VersionInfo.xml exists in the installation. Fix it to tolerate a missing or empty file.

This change was originally made by !2318 (merged). Here we backport it to the 3.12.x series.

Fixes: #18436 (closed)

Merge request reports