dwarf-fortress: unfuck unfuck

This commit is contained in:
Naïm Favier 2023-02-22 13:03:53 +01:00
parent d377d9bc2e
commit 2343d23c44
No known key found for this signature in database
GPG Key ID: 95AFCE8211908325

View File

@ -82,6 +82,11 @@ stdenv.mkDerivation {
sha256 = release.sha256;
};
postPatch = ''
# https://github.com/svenstaro/dwarf_fortress_unfuck/pull/27
substituteInPlace CMakeLists.txt --replace \''${GLEW_LIBRARIES} GLEW::glew
'';
cmakeFlags = [
"-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
"-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"