brunsli: fix build with cmake v4 (#445497)
This commit is contained in:
@@ -42,6 +42,11 @@ stdenv.mkDerivation rec {
|
||||
''
|
||||
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
rm -r build
|
||||
''
|
||||
# fix build with cmake v4, should be removed in next release
|
||||
+ ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail 'cmake_minimum_required(VERSION 3.1)' 'cmake_minimum_required(VERSION 3.10)'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user