File: 0001-Increase-required-minimum-version-for-CMake-478.patch

package info (click to toggle)
treesheets 1%3A1.0.2-1.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,756 kB
  • sloc: cpp: 42,518; makefile: 66; ansic: 9
file content (27 lines) | stat: -rw-r--r-- 801 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 9b48b61f53eee38ac111773cfcdf408084bf89a8 Mon Sep 17 00:00:00 2001
From: Tobias Predel <tobias.predel@gmail.com>
Date: Sat, 22 Jul 2023 17:46:26 +0200
Subject: Increase required minimum version for CMake (#478)

This fixes a warning message of CMake.
---
 CMakeLists.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5788dd7..5516f1c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,8 +19,7 @@
 # Should work on Windows, too. About helping FindwxWidgets to find wxWidgets
 # consult: https://cmake.org/cmake/help/latest/module/FindwxWidgets.html
 
-cmake_minimum_required(VERSION 3.1)
-# CMAKE_CXX_STANDARD needs v3.1, could be lowered with minor effort
+cmake_minimum_required(VERSION 3.5)
 
 project(treesheets)
 
-- 
2.30.2