libcue: fix build with CMake 4

Co-authored-by: K900 <me@0upti.me>
This commit is contained in:
Emily
2025-09-19 16:29:10 +01:00
co-authored by K900
parent 07ce73515f
commit e6d9ea3282
+8
View File
@@ -24,6 +24,14 @@ stdenv.mkDerivation rec {
flex
];
# Fix the build with CMake 4.
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail \
'CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR)' \
'CMAKE_MINIMUM_REQUIRED(VERSION 3.10 FATAL_ERROR)'
'';
doCheck = true;
meta = with lib; {