scalp: fix build with cmake 4

This commit is contained in:
Weijia Wang
2025-10-18 12:27:45 +02:00
parent 683c3773a1
commit ff3d1ad091

View File

@@ -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 \