Skip to content

Commit 40e57f4

Browse files
committed
CMake 3.16 minimum for compatibility
1 parent 805f9d7 commit 40e57f4

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

.github/workflows/build_cmake.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,7 @@ jobs:
6868
shell: bash
6969
working-directory: ${{runner.workspace}}/build
7070
# Note the current convention is to use the -S and -B options here to specify source
71-
# and build directories, but this is only available with CMake 3.13 and higher.
72-
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
73-
#
74-
# We need to source the profile file to make sure conan is in PATH
71+
# and build directories. We need to source the profile file to make sure conan is in PATH
7572
run: |
7673
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
7774
- name: Build

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.13)
1+
cmake_minimum_required(VERSION 3.16)
22
# cmake_policy(SET CMP0076 OLD)
33

44
set(FLAMESHOT_VERSION 13.3.0)

packaging/debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Section: graphics
33
Priority: optional
44
Maintainer: Boyuan Yang <[email protected]>
55
Build-Depends:
6-
cmake (>= 3.13~),
6+
cmake (>= 3.16~),
77
debhelper (>= 11),
88
qt6-base-dev (>= 6.2.0~),
99
qt6-tools-dev (>= 6.2.0~),
@@ -12,7 +12,7 @@ Build-Depends:
1212
qt6-l10n-tools,
1313
libgl-dev,
1414
Standards-Version: 4.5.0
15-
Homepage: https://github.com/flameshot-org/flameshot
15+
Homepage: https://flameshot.org/
1616
Vcs-Browser: https://github.com/flameshot-org/flameshot
1717
Vcs-Git: https://github.com/flameshot-org/flameshot.git
1818

packaging/rpm/fedora/flameshot.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ URL: https://github.com/flameshot-org/flameshot
1010
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
1111
Vendor: Flameshot
1212

13-
BuildRequires: cmake >= 3.13.0
13+
BuildRequires: cmake >= 3.16.0
1414
BuildRequires: gcc-c++ >= 7
1515
BuildRequires: fdupes
1616
BuildRequires: libappstream-glib

packaging/rpm/opensuse/flameshot.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ URL: https://github.com/flameshot-org/flameshot
1010
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
1111
Vendor: Flameshot
1212

13-
BuildRequires: cmake >= 3.13.0
13+
BuildRequires: cmake >= 3.16.0
1414
BuildRequires: gcc-c++ >= 7
1515
BuildRequires: fdupes
1616
BuildRequires: update-desktop-files

0 commit comments

Comments
 (0)