Commit ff3d1ad0 authored by Weijia Wang's avatar Weijia Wang
Browse files

scalp: fix build with cmake 4

parent 683c3773
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ stdenv.mkDerivation rec {

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required (VERSION 3.3.2)" "cmake_minimum_required (VERSION 3.5)" \
      --replace-fail "\''$ORIGIN" "\''${CMAKE_INSTALL_PREFIX}/lib" \
      --replace-fail "-m64" ""
    substituteInPlace src/tests/CMakeLists.txt \