convert static class members with git info to functions to simplify auto-export on Windows

This commit is contained in:
Axel Kohlmeyer
2022-01-27 17:20:05 -05:00
parent 62ff23abe7
commit d391ae845b
6 changed files with 37 additions and 37 deletions

View File

@ -1149,9 +1149,9 @@ void _noopt LAMMPS::help()
// general help message about command line and flags
if (has_git_info) {
if (has_git_info()) {
fprintf(fp,"\nLarge-scale Atomic/Molecular Massively Parallel Simulator - "
LAMMPS_VERSION UPDATE_STRING "\nGit info (%s / %s)\n\n",git_branch, git_descriptor);
LAMMPS_VERSION UPDATE_STRING "\nGit info (%s / %s)\n\n",git_branch(), git_descriptor());
} else {
fprintf(fp,"\nLarge-scale Atomic/Molecular Massively Parallel Simulator - "
LAMMPS_VERSION UPDATE_STRING "\n\n");