monosat: fix build with cmake4
This commit is contained in:
@@ -47,7 +47,10 @@ let
|
|||||||
core = stdenv.mkDerivation {
|
core = stdenv.mkDerivation {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
inherit src patches;
|
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 ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
zlib
|
zlib
|
||||||
|
|||||||
Reference in New Issue
Block a user