Commit c54604e2 authored by kyehn's avatar kyehn
Browse files

tslib: add tslib-1.23-cmake4.patch

parent 9ace3eeb
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -17,6 +17,11 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-2YJDADh/WCksAEIjngAdji98YGmwjpvxSBZkxAwFc7k=";
  };

  patches = [
    # CMake 4 dropped support of versions lower than 3.5
    ./tslib-1.23-cmake4.patch
  ];

  nativeBuildInputs = [ cmake ];

  passthru.updateScript = nix-update-script { };
+11 −0
Original line number Diff line number Diff line
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@
 #
 #
 
-cmake_minimum_required(VERSION 3.3)
+cmake_minimum_required(VERSION 3.10)
 
 project(tslib LANGUAGES C)
 
 No newline at end of file