improve message in about LAMMPS dialog

This commit is contained in:
Axel Kohlmeyer
2023-08-03 22:42:50 -04:00
parent 6280876825
commit cf6866d5e6

View File

@ -539,13 +539,13 @@ void LammpsGui::about()
{ {
std::string version = "This is LAMMPS-GUI version " LAMMPS_GUI_VERSION; std::string version = "This is LAMMPS-GUI version " LAMMPS_GUI_VERSION;
if (lammps.has_plugin()) { if (lammps.has_plugin()) {
version += " - LAMMPS linked dynamically"; version += " - LAMMPS library loaded as plugin";
if (!plugin_path.empty()) { if (!plugin_path.empty()) {
version += " from file "; version += " from file ";
version += plugin_path; version += plugin_path;
} }
} else { } else {
version += " - LAMMPS linked statically"; version += " - LAMMPS library linked to executable";
} }
std::string info = "LAMMPS is currently running. LAMMPS config info not available."; std::string info = "LAMMPS is currently running. LAMMPS config info not available.";