Unverified Commit dba1d9d4 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

libnest2d: fix build with cmake4

parent 6fc2c773
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -25,6 +25,9 @@ stdenv.mkDerivation {
  postPatch = ''
    substituteInPlace {,examples/}CMakeLists.txt \
      --replace "set(CMAKE_CXX_STANDARD 11)" "set(CMAKE_CXX_STANDARD 14)"
    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 3.1)" "cmake_minimum_required(VERSION 3.10)"

  '';

  propagatedBuildInputs = [