gentoo/dev-db/soci/files/soci-4.0.3-cmake-4.patch
Kenton Groombridge be11f4de70
dev-db/soci: new package, add 4.0.3-r5, 4.1.2-r1
Move dev-db/soci from ::guru to ::gentoo. Needed as a dependency of
future versions of net-voip/mumble and net-voip/murmur.

Increment version as the LTO USE flag was removed. Users who wish to
enable it can instead pass CMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
directly.

Signed-off-by: Kenton Groombridge <concord@gentoo.org>
2025-09-10 10:12:08 -04:00

21 lines
752 B
Diff

--- 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)