Skip to content
This repository has been archived by the owner on May 18, 2019. It is now read-only.

Commit

Permalink
Add OMCompiler prefix if there is no REVISION file
Browse files Browse the repository at this point in the history
So we have for example OMCompiler v1.12.0-dev.XX+gYYYYY.
  • Loading branch information
sjoelund authored and OpenModelica-Hudson committed Dec 12, 2016
1 parent 68920ea commit 9fcae81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Compiler/runtime/omc_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@
#endif /* #if !defined(MSYS2_AUTOCONF) && (defined(__MINGW32__) || defined(_MSC_VER)) */

#ifdef CONFIG_REVISION
#define CONFIG_VERSION "OpenModelica " CONFIG_REVISION
#define CONFIG_VERSION CONFIG_REVISION
#else
#define CONFIG_VERSION "OpenModelica unknown"
#define CONFIG_VERSION "unknown"
#endif


Expand Down
2 changes: 1 addition & 1 deletion common
Submodule common updated 2 files
+1 −1 m4/semver.m4
+3 −0 semver.sh

0 comments on commit 9fcae81

Please sign in to comment.