File: cmake-4.patch

package info (click to toggle)
libjdns 2.0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 552 kB
  • sloc: ansic: 6,747; cpp: 2,915; makefile: 17
file content (19 lines) | stat: -rw-r--r-- 504 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix FTBFS with CMake 4
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1113162

--- libjdns-2.0.3.orig/CMakeLists.txt
+++ libjdns-2.0.3/CMakeLists.txt
@@ -1,11 +1,8 @@
 project(jdns)
 
-cmake_minimum_required(VERSION 2.8.11)
+cmake_minimum_required(VERSION 3.5)
 cmake_policy(SET CMP0003 NEW)
 
-# Do not link against qtmain on Windows
-cmake_policy(SET CMP0020 OLD)
-
 # On Windows debug library should have 'd' postfix.
 if(WIN32)
   set(CMAKE_DEBUG_POSTFIX "d")