Unverified Commit e72bb189 authored by Ethan Carter Edwards's avatar Ethan Carter Edwards
Browse files

rkrlv2: fix build with cmake 4

parent 90a46a00
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -24,6 +24,12 @@ stdenv.mkDerivation rec {
    sha256 = "WjpPNUEYw4aGrh57J+7kkxKFXgCJWNaWAmueFbNUJJo=";
  };

  postPatch = ''
    substituteInPlace ./CMakeLists.txt lv2/CMakeLists.txt --replace-fail \
      "cmake_minimum_required(VERSION 2.6)" \
      "cmake_minimum_required(VERSION 4.0)"
  '';

  nativeBuildInputs = [
    cmake
    pkg-config