Commit 296e29eb authored by Aaron Andersen's avatar Aaron Andersen
Browse files

devilutionx, smpq, stormlib: add cmake fix

parent c83e7752
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -76,6 +76,10 @@ stdenv.mkDerivation (finalAttrs: {
      --replace-fail "@assets@" "$out/share/diasurgical/devilutionx/"
  '';

  cmakeFlags = [
    "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
  ];

  nativeBuildInputs = [
    cmake
    pkg-config
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ stdenv.mkDerivation (finalAttrs: {

  cmakeFlags = [
    (lib.cmakeBool "WITH_KDE" false)
    "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
  ];

  nativeBuildInputs = [ cmake ];
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
  cmakeFlags = [
    (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
    (lib.cmakeBool "WITH_LIBTOMCRYPT" true)
    "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
  ];

  strictDeps = true;