tagainijisho: fix build with cmake 4 (#451323)

This commit is contained in:
Vincent Laporte
2025-10-13 07:18:08 +00:00
committed by GitHub
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a3816f7..81116dd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,8 +19,8 @@ set(VERSION 1.2.2)
set(QTVERSION 5.12)
set(CMAKE_AUTOMOC ON)
-cmake_minimum_required(VERSION 2.8.12)
-cmake_policy(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.10)
+cmake_policy(VERSION 3.10)
find_package(Qt5 ${QTVERSION} REQUIRED COMPONENTS Core Widgets PrintSupport Network LinguistTools)

View File

@@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
hash = "sha256-CTDMoYGbVE4W0SDerW//aAdUVsySWFQycSy0I3a9+94=";
};
patches = [
### Fix cmake minimum version
./0000-fix-cmake-min.patch
];
nativeBuildInputs = [
qttools
cmake