Unverified Commit 094bbbb0 authored by Vladimír Čunát's avatar Vladimír Čunát Committed by GitHub
Browse files

xeus-cling: fix build with cmake4 (#453803)

parents d1e9d8a2 991737f6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -94,6 +94,9 @@ clangStdenv.mkDerivation rec {
      --replace-fail "simplisticCastAs" "castAs"
    substituteInPlace src/xmime_internal.hpp \
      --replace-fail "code.str()" "code.str().str()"

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

  dontStrip = debug;