File: fix_build_with_cmake4.patch

package info (click to toggle)
kdiagram2 2.8.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,812 kB
  • sloc: cpp: 52,379; makefile: 8; sh: 2
file content (14 lines) | stat: -rw-r--r-- 360 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 12dbdbb..73f9356 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
-cmake_minimum_required(VERSION 2.8.12)
+cmake_minimum_required(VERSION 3.10)
 
-project( kdiagram )
+project( kdiagram VERSION 2.8.0 )
 
 set(KF5_MIN_VERSION "5.60.0")
 find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)