wb32-dfu-updater: fix broken CMake 4 build (#449615)

This commit is contained in:
Sandro
2025-10-09 12:40:14 +00:00
committed by GitHub
2 changed files with 11 additions and 0 deletions
@@ -0,0 +1,7 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.10)
set(CMAKE_C_STANDARD 99)
@@ -17,6 +17,10 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-DKsDVO00JFhR9hIZksFVJLRwC6PF9LCRpf++QywFO2w=";
};
patches = [
./fix-cmake4-build.patch # Temporary fix for https://github.com/WestberryTech/wb32-dfu-updater/pull/19
];
nativeBuildInputs = [ cmake ];
buildInputs = [ libusb1 ];