diff --git a/tools/lammps-gui/CMakeLists.txt b/tools/lammps-gui/CMakeLists.txt index fc111f5c64c..5ac23daac79 100644 --- a/tools/lammps-gui/CMakeLists.txt +++ b/tools/lammps-gui/CMakeLists.txt @@ -205,7 +205,7 @@ if(FLATPAK_COMMAND AND FLATPAK_BUILDER) file(STRINGS ${LAMMPS_DIR}/src/version.h line REGEX LAMMPS_VERSION) string(REGEX REPLACE "#define LAMMPS_VERSION \"([0-9]+) ([A-Za-z][A-Za-z][A-Za-z])[A-Za-z]* ([0-9]+)\"" "\\1\\2\\3" LAMMPS_RELEASE "${line}") - set(FLATPAK_BUNDLE "LAMMPS_GUI-Linux-amd64-${LAMMPS_RELEASE}.flatpak") + set(FLATPAK_BUNDLE "LAMMPS-Linux-x86_64-GUI-${LAMMPS_RELEASE}.flatpak") add_custom_target(flatpak COMMAND ${FLATPAK_COMMAND} --user remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo COMMAND ${FLATPAK_BUILDER} --force-clean --verbose --repo=${CMAKE_CURRENT_BINARY_DIR}/flatpak-repo diff --git a/tools/lammps-gui/org.lammps.lammps-gui.yml b/tools/lammps-gui/org.lammps.lammps-gui.yml index 548c4ce93e3..02d517e210e 100644 --- a/tools/lammps-gui/org.lammps.lammps-gui.yml +++ b/tools/lammps-gui/org.lammps.lammps-gui.yml @@ -88,6 +88,7 @@ modules: - -D PKG_QTB=yes - -D PKG_REACTION=yes - -D PKG_REAXFF=yes + - -D PKG_RHEO=yes - -D PKG_RIGID=yes - -D PKG_SHOCK=yes - -D PKG_SMTBQ=yes