Fixed build with cmake-4
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
c84a41b8ad
commit
c7dedb0da5
2 changed files with 16 additions and 1 deletions
13
vmmlib-1.8.0-cmake-4-fix.patch
Normal file
13
vmmlib-1.8.0-cmake-4-fix.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index f5498c8..eedffe0 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright (c) 2011 Daniel Pfeifer <daniel@pfeifer-mail.de>
|
||||
# 2011-2014 Stefan.Eilemann@epfl.ch
|
||||
|
||||
-cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
|
||||
+cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
|
||||
project(vmmlib)
|
||||
|
||||
set(VERSION_MAJOR 1)
|
||||
|
|
@ -20,7 +20,9 @@ BuildRequires: doxygen
|
|||
BuildRequires: cmake
|
||||
BuildRequires: boost-devel
|
||||
# https://github.com/VMML/vmmlib/pull/101
|
||||
Patch0: vmmlib-1.8.0-gcc-13-fix.patch
|
||||
Patch: vmmlib-1.8.0-gcc-13-fix.patch
|
||||
# https://github.com/VMML/vmmlib/issues/103
|
||||
Patch: vmmlib-1.8.0-cmake-4-fix.patch
|
||||
|
||||
%description
|
||||
vmmlib is a vector and matrix math library implemented using C++ templates.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue