+ fix build failure if SMESH support is disabled

This commit is contained in:
wmayer
2022-11-06 20:23:13 +01:00
parent 9345738604
commit 4b4a8b57f6
2 changed files with 8 additions and 0 deletions

View File

@@ -605,7 +605,11 @@ void AboutDialog::showLibraryInformation()
li.name = QLatin1String("Salome SMESH");
li.href = baseurl + QLatin1String("#_TocSalomeSMESH");
li.url = QLatin1String("https://salome-platform.org");
#ifdef SMESH_VERSION_STR
li.version = QLatin1String(SMESH_VERSION_STR);
#else
li.version.clear();
#endif
libInfo << li;
// Shiboken