summaryrefslogtreecommitdiff
path: root/dev-db/soci/files/soci-4.0.3-cmake-4.patch
blob: 0a123aeae5f4f65d10fc0a344fe31e1bb3156620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- soci-4.0.3/CMakeLists.txt.orig	2025-05-25 10:58:59.233104228 +0200
+++ soci-4.0.3/CMakeLists.txt	2025-05-25 11:02:52.179087165 +0200
@@ -10,7 +10,7 @@
 ###############################################################################
 # General settings
 ###############################################################################
-cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.10 FATAL_ERROR)
 
 project(SOCI)
 
@@ -26,7 +26,7 @@
 option(SOCI_VISIBILITY "Enable hiding private symbol using ELF visibility if supported by the platform" ON)
 
 if (SOCI_LTO)
-    cmake_minimum_required(VERSION 3.9)
+    cmake_minimum_required(VERSION 3.10)
 
     # Check and enable lto support
     include(CheckIPOSupported)