Building on #645, I wanted to make things easier for packaging the application for things like flatpak.
Add install targets to cmake file. This allows packaging tools to know where to put the compiled binary and game files. This shouldn't affect much since it should only perform operations when explicitly running make install.
Added search against XDG_DATA_DIRS for assets. This is usually set by the distro or packaging system and defines where a package's assets should be located.
If you're okay with merging these changes, I do have a flatpak manifest that is ready to go if you're interested in submitting to flathub!
Let me know if you have any questions, or would like any changes. Thanks!
Building on #645, I wanted to make things easier for packaging the application for things like flatpak.
make install
.XDG_DATA_DIRS
for assets. This is usually set by the distro or packaging system and defines where a package's assets should be located.If you're okay with merging these changes, I do have a flatpak manifest that is ready to go if you're interested in submitting to flathub!
Let me know if you have any questions, or would like any changes. Thanks!