opengothic: fix build with cmake4

This commit is contained in:
azahi
2025-10-12 18:47:22 +03:00
parent 22fa6f7b55
commit 679cb08da2

View File

@@ -54,6 +54,10 @@ stdenv.mkDerivation (finalAttrs: {
--replace-fail "-Werror" ""
'';
cmakeFlags = [
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.10")
];
postFixup = ''
wrapProgram $out/bin/Gothic2Notr \
--set LD_PRELOAD "${lib.getLib alsa-lib}/lib/libasound.so.2"