abuse: fix build with cmake 4

This commit is contained in:
Keenan Weaver
2025-10-07 21:18:11 -05:00
parent 40106ff1a4
commit 530e0d54f1

View File

@@ -58,6 +58,10 @@ stdenv.mkDerivation (finalAttrs: {
env.NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL2}/include/SDL2";
cmakeFlags = [
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
];
nativeBuildInputs = [
copyDesktopItems
cmake