Commit 634e428c authored by Dmitry Kalinkin's avatar Dmitry Kalinkin
Browse files

cernlib: fix for cmake 4

parent c7a1a9de
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -35,6 +35,8 @@ stdenv.mkDerivation rec {

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 3.3.0 FATAL_ERROR)" \
                     "cmake_minimum_required(VERSION 3.10.0 FATAL_ERROR)" \
      --replace-fail "find_program ( SED NAMES gsed" "find_program ( SED NAMES sed"
  '';