Unverified Commit 1f6015f6 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

genmap: fix build with cmake4

parent 0720d4cf
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -34,6 +34,11 @@ stdenv.mkDerivation rec {
    echo > benchmarks/CMakeLists.txt
  '';

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

  meta = {
    description = "Ultra-fast computation of genome mappability";
    mainProgram = "genmap";