"wrappers/python/src/vscode:/vscode.git/clone" did not exist on "9b083022d2b2d2d05e991ff4d4edaeaa0d8aa68b"
Commit 086501a7 authored by peastman's avatar peastman
Browse files

Platform::getOpenMMVersion() includes patch version

parent c2be00a6
......@@ -320,7 +320,11 @@ const string& Platform::getDefaultPluginsDirectory() {
#define STRING(x) STRING1(x)
const string& Platform::getOpenMMVersion() {
#if OPENMM_BUILD_VERSION == 0
static const string version = STRING(OPENMM_MAJOR_VERSION) "." STRING(OPENMM_MINOR_VERSION);
#else
static const string version = STRING(OPENMM_MAJOR_VERSION) "." STRING(OPENMM_MINOR_VERSION) "." STRING(OPENMM_BUILD_VERSION);
#endif
return version;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment