Package: src:libsfml
Version: 2.5.1+dfsg-1
Tag: patch

Dear maintainer,

the new upstream release of CMake introduced a deprecation warning
if cmake_minimum_required() requests a minimum version below 2.8.12.
This makes the autopkgtest suite of libsfml fail due to unexpected
stderr output.

Attached is a patch that bumps the minimum version to something
reasonably recent, i.e. the current oldoldstable version of CMake.

Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
diff --git a/debian/tests/CMakeLists.txt b/debian/tests/CMakeLists.txt
index 02c726b..2117d91 100644
--- a/debian/tests/CMakeLists.txt
+++ b/debian/tests/CMakeLists.txt
@@ -1,6 +1,6 @@
 # Test CMake project to ensure FindSFML.cmake works properly
 
-cmake_minimum_required(VERSION 2.8)
+cmake_minimum_required(VERSION 3.7)
 project(SFMLTest CXX)
 
 # Try to find SFML using CMake config file

Attachment: signature.asc
Description: PGP signature

Reply via email to