Commit d32084bf authored by Alwin's avatar Alwin Committed by Alwin
Browse files

wb32-dfu-updater: fix broken CMake 4 build



Co-authored-by: default avatarYohann Boniface <edhyjox@gmail.com>

Co-authored-by: default avatarGrimmauld <soeren@benjos.de>
parent bad3e00d
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 ];