Unverified Commit bf4194f2 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

tinyalsa: fix build with cmake4 (#453936)

parents e651fc13 2edff408
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -28,6 +28,11 @@ stdenv.mkDerivation {
    "-Wno-error=sign-compare"
  ];

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

  meta = with lib; {
    homepage = "https://github.com/tinyalsa/tinyalsa";
    description = "Tiny library to interface with ALSA in the Linux kernel";