mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
double-conversion: bump to version 3.3.1, add upstream patch for newer cmake
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
From a6064293dc2e4e868a816d79421d891154cdf30e Mon Sep 17 00:00:00 2001
|
||||
From: Heiko Becker <mail@heiko-becker.de>
|
||||
Date: Thu, 20 Feb 2025 15:07:00 +0100
|
||||
Subject: CMake: Raised required version to 3.5
|
||||
|
||||
CMake >= 4.0.0-rc1 removed compatibility with versions < 3.5 and errors
|
||||
out with such versions passed to cmake_minimum_required(). 3.5.0 has
|
||||
been released 9 years ago, so I'd assume it's available almost
|
||||
everywhere.
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 8749ef8..3145772 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.0)
|
||||
+cmake_minimum_required(VERSION 3.5)
|
||||
project(double-conversion VERSION 3.3.0)
|
||||
|
||||
option(BUILD_SHARED_LIBS "Build shared libraries (.dll/.so) instead of static ones (.lib/.a)" OFF)
|
||||
--
|
||||
2.50.1
|
||||
|
||||
Reference in New Issue
Block a user