ttwatch: fix build with cmake4 (#453863)

This commit is contained in:
Sandro
2025-10-20 14:00:49 +00:00
committed by GitHub
+5
View File
@@ -41,6 +41,11 @@ stdenv.mkDerivation {
chmod +x $out/bin/ttbin2mysports
'';
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required (VERSION 2.8)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
homepage = "https://github.com/ryanbinns/ttwatch";
description = "Linux TomTom GPS Watch Utilities";