Unverified Commit 211e37bb authored by Azat Bahawi's avatar Azat Bahawi Committed by GitHub
Browse files

opengothic: fix build with cmake4 (#451382)

parents 7b151508 679cb08d
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"