recognize OCCT -dev and -beta versions
as such in version string
This commit is contained in:
parent
3859963b44
commit
65793d22e8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user