dethrace icon indicating copy to clipboard operation
dethrace copied to clipboard

Use `GNUInstallDirs` in `CMakeLists.txt`

Open buzz opened this issue 7 months ago • 0 comments

I'm maintaining an Arch PKGBUILD for Dethrace in the AUR.

The current build process required a small patch, which I've applied here: fix_install_dirs.patch. This patch adopts GNUInstallDirs for install paths, making the project more compliant with CMake conventions and easier for distro packaging.

For developers who want the original "install everything in ." behavior, CMake can still be invoked like:

$ cmake -B build -S . \
  -DCMAKE_INSTALL_PREFIX=. \
  -DCMAKE_INSTALL_BINDIR=. \
  -DCMAKE_INSTALL_DOCDIR=.

buzz avatar Sep 25 '25 10:09 buzz