Unverified Commit 679cb08d authored by azahi's avatar azahi
Browse files

opengothic: fix build with cmake4

parent 22fa6f7b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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"