Unverified Commit 298e3712 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

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

parents 178325cd d32084bf
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
--- 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)
+4 −0
Original line number Diff line number Diff line
@@ -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 ];