| 1 |
Description: bump cmake minimum version to 3.10. |
| 2 |
This gets rid from the following warning: |
| 3 |
. |
| 4 |
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): |
| 5 |
Compatibility with CMake < 3.10 will be removed from a future version of |
| 6 |
CMake. |
| 7 |
|
| 8 |
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax |
| 9 |
to tell CMake that the project requires at least <min> but has been updated |
| 10 |
to work with policies introduced by <max> or earlier. |
| 11 |
. |
| 12 |
The change also include a fix to a leftover bump needed to at least |
| 13 |
3.5. |
| 14 |
Author: Étienne Mollier <[email protected]> |
| 15 |
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125554 |
| 16 |
Forwarded: no |
| 17 |
Last-Update: 2026-01-15 |
| 18 |
--- |
| 19 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 20 |
--- ngmlr.orig/CMakeLists.txt |
| 21 |
+++ ngmlr/CMakeLists.txt |
| 22 |
@@ -1,4 +1,4 @@ |
| 23 |
-cmake_minimum_required(VERSION 3.5) |
| 24 |
+cmake_minimum_required(VERSION 3.10) |
| 25 |
project(ngmlr) |
| 26 |
|
| 27 |
include(CheckCXXCompilerFlag) |
| 28 |
--- ngmlr.orig/src/CMakeLists.txt |
| 29 |
+++ ngmlr/src/CMakeLists.txt |
| 30 |
@@ -1,4 +1,4 @@ |
| 31 |
-cmake_minimum_required(VERSION 2.8) |
| 32 |
+cmake_minimum_required(VERSION 3.10) |
| 33 |
project(ngmlr) |
| 34 |
|
| 35 |
include_directories (/usr/include/htslib) |