monosat: fix build with cmake4
This commit is contained in:
@@ -47,7 +47,10 @@ let
|
||||
core = stdenv.mkDerivation {
|
||||
name = "${pname}-${version}";
|
||||
inherit src patches;
|
||||
postPatch = commonPostPatch;
|
||||
postPatch = commonPostPatch + ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 3.02)" "cmake_minimum_required(VERSION 3.10)"
|
||||
'';
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [
|
||||
zlib
|
||||
|
||||
Reference in New Issue
Block a user