allegro: fix build with cmake4

This commit is contained in:
wrvsrx
2025-10-07 16:09:59 +08:00
parent 8913c168d1
commit 375da09b23
@@ -63,7 +63,10 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
cmakeFlags = [ "-DCMAKE_SKIP_RPATH=ON" ];
cmakeFlags = [
"-DCMAKE_SKIP_RPATH=ON"
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
];
meta = with lib; {
description = "Game programming library";