Skip to content

Commit 768c8f4

Browse files
authored
Merge pull request #581 from ppisar/cmake4
Increase CMake version to 3.5
2 parents 2a8217d + 4a0b11d commit 768c8f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
PROJECT (libsolv C)
1+
CMAKE_MINIMUM_REQUIRED (VERSION 3.5)
22

3-
CMAKE_MINIMUM_REQUIRED (VERSION 2.8.5)
3+
PROJECT (libsolv C)
44

55
OPTION (ENABLE_STATIC "Build a static version of the libraries?" OFF)
66
OPTION (DISABLE_SHARED "Do not build a shared version of the libraries?" OFF)

package/libsolv.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ License: BSD-3-Clause
7272
Group: Development/Libraries/C and C++
7373
URL: https://github.com/openSUSE/libsolv
7474
Source: libsolv-%{version}.tar.bz2
75-
BuildRequires: cmake
75+
BuildRequires: cmake >= 3.5
7676
BuildRequires: gcc-c++
7777
BuildRequires: libxml2-devel
7878
BuildRequires: rpm-devel

0 commit comments

Comments
 (0)