Unverified Commit 344dfdae authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

ensemble-chorus: fix build with cmake4 (#454164)

parents f95a1118 f8c8434b
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -47,6 +47,18 @@ stdenv.mkDerivation {
    libjack2
  ];

  postPatch = ''
    substituteInPlace CMakeLists.txt --replace-fail \
      'cmake_minimum_required(VERSION "3.3")' \
      'cmake_minimum_required(VERSION 4.0)'
    substituteInPlace thirdparty/gsl-lite/CMakeLists.txt --replace-fail \
      'cmake_minimum_required( VERSION 3.0 FATAL_ERROR )' \
      'cmake_minimum_required(VERSION 4.0)'
    substituteInPlace thirdparty/jsl/CMakeLists.txt --replace-fail \
      'cmake_minimum_required(VERSION 3.3)' \
      'cmake_minimum_required(VERSION 4.0)'
  '';

  meta = with lib; {
    homepage = "https://github.com/jpcima/ensemble-chorus";
    description = "Digital model of electronic string ensemble chorus";