xdg-utils-cxx: fix build with CMake 4
Co-authored-by: K900 <me@0upti.me>
This commit is contained in:
@@ -19,6 +19,14 @@ stdenv.mkDerivation rec {
|
||||
cmake
|
||||
];
|
||||
|
||||
# Fix the build with CMake 4.
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail \
|
||||
'cmake_minimum_required(VERSION 3.0)' \
|
||||
'cmake_minimum_required(VERSION 3.10)'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Implementation of the FreeDesktop specifications to be used in c++ projects";
|
||||
homepage = "https://github.com/azubieta/xdg-utils-cxx";
|
||||
|
||||
Reference in New Issue
Block a user