Skip to content

Commit d393f82

Browse files
committed
Raise minimum cmake version to 3.17
Change-Id: I41dad12c1a3da73fda927cd598ef86f8325809c1 Reviewed-on: https://review.couchbase.org/c/libcouchbase/+/231643 Tested-by: Build Bot <build@couchbase.com> Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
1 parent 8b49e51 commit d393f82

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

CMakeLists.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
1818

19-
# centos-7: 2.8.12
20-
# amazonlinux-2: 2.8.12.2
21-
# ubuntu-16.04: 3.5.1
22-
# debian-9: 3.7.2
23-
# amazonlinux-2: 3.13.1 (cmake3 package)
24-
# centos-7: 3.17.3 (cmake3 package from epel-release)
25-
CMAKE_MINIMUM_REQUIRED(VERSION 3.5.1)
19+
# amazonlinux:2023 3.22.2
20+
# amazonlinux:2 3.17.5 (cmake3 package)
21+
# ubuntu:22.04 3.22.1
22+
# ubuntu:24.04 3.28.3
23+
# debian:12 3.25.1
24+
# debian:11 3.18.4
25+
# rockylinux:8 3.26.5
26+
# rockylinux:9 3.26.5
27+
CMAKE_MINIMUM_REQUIRED(VERSION 3.17)
2628

2729
### BEGIN CONFIGURABLES ###
2830
# These variables can be modified as needed

contrib/gtest-1.8.1/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ else()
4747
set(GOOGLETEST_VERSION 1.8.1)
4848
project(gtest VERSION ${GOOGLETEST_VERSION} LANGUAGES CXX C)
4949
endif()
50-
cmake_minimum_required(VERSION 2.6.4)
50+
cmake_minimum_required(VERSION 3.17)
5151

5252
if (POLICY CMP0063) # Visibility
5353
cmake_policy(SET CMP0063 NEW)

packaging/deb/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: libcouchbase
22
Priority: optional
33
Maintainer: Couchbase SDK Team <support@couchbase.com>
4-
Build-Depends: debhelper (>= 7.0.50~), cmake (>= 3.5.1), libevent-dev (>= 1.4), libev-dev (>= 3), libssl-dev
4+
Build-Depends: debhelper (>= 7.0.50~), cmake (>= 3.17), libevent-dev (>= 1.4), libev-dev (>= 3), libssl-dev
55
Standards-Version: 3.9.2
66
Section: libs
77
Homepage: http://www.couchbase.com/develop/c/current

packaging/rpm/libcouchbase.spec.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ License: ASL 2.0
88
BuildRequires: gcc, gcc-c++
99

1010
%if %{?rhel}%{!?rhel:0} < 8
11-
BuildRequires: cmake3 >= 3.5.1
11+
BuildRequires: cmake3 >= 3.17
1212
%else
13-
BuildRequires: cmake >= 3.5.1
13+
BuildRequires: cmake >= 3.17
1414
%endif
1515

1616
BuildRequires: pkgconfig(libevent) >= 2

0 commit comments

Comments
 (0)