From 8a0790f54d115d0fb517939b1839587334a80e1e Mon Sep 17 00:00:00 2001 From: wmayer Date: Mon, 15 Oct 2018 20:10:42 +0200 Subject: [PATCH] fix possible build failure if oCCT is not used --- src/Gui/Splashscreen.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gui/Splashscreen.cpp b/src/Gui/Splashscreen.cpp index b3664d0e1e..167056c115 100644 --- a/src/Gui/Splashscreen.cpp +++ b/src/Gui/Splashscreen.cpp @@ -590,11 +590,13 @@ void AboutDialog::showLicenseInformation() libInfo << li; // OCCT +#if defined(HAVE_OCC_VERSION) li.name = QLatin1String("Open CASCADE Technology"); li.href = baseurl + QLatin1String("#_TocOCCT"); li.url = QLatin1String("http://www.opencascade.com"); li.version = QLatin1String(OCC_VERSION_STRING_EXT); libInfo << li; +#endif // pcl li.name = QLatin1String("Point Cloud Library");