scalp: fix build with cmake 4
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user