teensy-cmake-macros: fix build with cmake4 (#453942)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user