Unverified Commit 83945ad0 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

nxpmicro-mfgtools: fix build with cmake4 (#453403)

parents 0991f82c cabad413
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  pkg-config,
  bzip2,
@@ -23,6 +24,14 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-t5usUGbcdLQlqPpZkNDeGncka9VfkpO7U933Kw/Sm7U=";
  };

  patches = [
    # build: support cmake 4.0
    (fetchpatch {
      url = "https://github.com/nxp-imx/mfgtools/commit/311ee9b3cca0275fbb5eb5228c56edbb518afd67.patch?full_index=1";
      hash = "sha256-o4cPfXsPxk88zy5lARX8rcmQncsAkZegOxlAIyoFUpQ=";
    })
  ];

  nativeBuildInputs = [
    cmake
    pkg-config