Unverified Commit 274af7c2 authored by Yaya's avatar Yaya Committed by GitHub
Browse files

libacars: fix build issue related to cmake 4 (#454052)

parents 9aabd6e4 186b2052
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -15,9 +15,12 @@ stdenv.mkDerivation rec {
    hash = "sha256-2n1tuKti8Zn5UzQHmRdvW5Q+x4CXS9QuPHFQ+DFriiE=";
  };

  nativeBuildInputs = [
    cmake
  ];
  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required (VERSION 3.1)" "cmake_minimum_required (VERSION 3.10)"
  '';

  nativeBuildInputs = [ cmake ];

  cmakeFlags = [
    "-DCMAKE_INSTALL_LIBDIR=lib"