opengothic: fix build with cmake4 (#451382)

This commit is contained in:
Azat Bahawi
2025-10-13 07:38:02 +00:00
committed by GitHub
+4
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"