teensy-cmake-macros: fix build with cmake4 (#453942)

This commit is contained in:
Sandro
2025-10-31 10:03:45 +00:00
committed by GitHub
@@ -29,6 +29,11 @@ stdenv.mkDerivation (finalAttrs: {
};
};
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
description = "CMake macros for building teensy projects";
platforms = platforms.all;