Unverified Commit 973e8442 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

rttr: fix build with cmake4

parent 385f0a2e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -28,6 +28,11 @@ stdenv.mkDerivation rec {
    "-DBUILD_PACKAGE=OFF"
  ];

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

  meta = with lib; {
    broken = stdenv.hostPlatform.isDarwin;
    description = "C++ Reflection Library";