gentoo-ebuilds/sci-geosciences/osm2pgsql/files/osm2pgsql-2.2.0-cmake-boost-warning.patch
Andreas Sturmlechner 95259c512c
sci-geosciences/osm2pgsql: 2.2.0 version bump, bump EAPI 7 -> 8
Add live ebuild switch
Drop no-op slot op from DEPEND-only dev-libs/boost

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-09-30 16:31:51 +02:00

14 lines
336 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,10 @@
-
cmake_minimum_required(VERSION 3.10.0)
+# FIXME: Replace with >=Boost-1.70 shipped BoostConfig.cmake
+if (POLICY CMP0167)
+ cmake_policy(SET CMP0167 OLD) # since 3.30
+endif()
+
project(osm2pgsql VERSION 2.2.0 LANGUAGES CXX C)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)