Unverified Commit 6fc9e4b7 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

openttd-jgrpp: Add optional but recommended zstd dependency

Fixes

```
CMake Warning at cmake/LinkPackage.cmake:23 (message):
  ZSTD not found; compiling OpenTTD without ZSTD is not recommended
  Call Stack (most recent call first):
    CMakeLists.txt:330 (link_package)
```
parent 3d16e9db
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
{ fetchFromGitHub, openttd, ... }:
{ fetchFromGitHub, openttd, zstd, ... }:

openttd.overrideAttrs (oldAttrs: rec {
  pname = "openttd-jgrpp";
@@ -10,4 +10,6 @@ openttd.overrideAttrs (oldAttrs: rec {
    rev = "jgrpp-${version}";
    hash = "sha256-AMd2KXy/ODByeV9CkEd51KbE/+fZ8Us3WzsWCnn7nh0=";
  };

  buildInputs = oldAttrs.buildInputs ++ [ zstd ];
})