From 65793d22e8db0a4ebcd67e49791ff99afb131509 Mon Sep 17 00:00:00 2001 From: Sebastian Hoogen Date: Sun, 20 Jul 2014 13:01:13 +0200 Subject: [PATCH] recognize OCCT -dev and -beta versions as such in version string --- src/Mod/Part/App/AppPart.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mod/Part/App/AppPart.cpp b/src/Mod/Part/App/AppPart.cpp index c2bb5f8a8..b64013cff 100644 --- a/src/Mod/Part/App/AppPart.cpp +++ b/src/Mod/Part/App/AppPart.cpp @@ -95,6 +95,9 @@ void PartExport initPart() { std::stringstream str; str << OCC_VERSION_MAJOR << "." << OCC_VERSION_MINOR << "." << OCC_VERSION_MAINTENANCE; +#ifdef OCC_VERSION_DEVELOPMENT + str << "." OCC_VERSION_DEVELOPMENT; +#endif App::Application::Config()["OCC_VERSION"] = str.str(); // This is highly experimental and we should keep an eye on it