mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
nngpp: Fix build with cmake4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
|||||||
|
From c5004770784dc5ff80b88487de38c22275a7960a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Sat, 12 Jul 2025 16:04:38 -0700
|
||||||
|
Subject: [PATCH] cmake: Bump minimum version to 3.10
|
||||||
|
|
||||||
|
Cmake4+ has dropped support for cmake < 3.5 [1]
|
||||||
|
|
||||||
|
[1] https://cmake.org/cmake/help/latest/release/4.0.html#deprecated-and-removed-features
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/cwzx/nngpp/pull/38]
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index caa7145..45a5ad5 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-cmake_minimum_required (VERSION 3.1)
|
||||||
|
+cmake_minimum_required (VERSION 3.10)
|
||||||
|
project(nngpp CXX)
|
||||||
|
|
||||||
|
include(GNUInstallDirs)
|
||||||
@@ -4,10 +4,10 @@ LICENSE = "MIT"
|
|||||||
LIC_FILES_CHKSUM = "file://license.txt;md5=6d17d78c3597e0d4452fb1c63bf7c58e"
|
LIC_FILES_CHKSUM = "file://license.txt;md5=6d17d78c3597e0d4452fb1c63bf7c58e"
|
||||||
DEPENDS = "nng"
|
DEPENDS = "nng"
|
||||||
|
|
||||||
SRCREV = "cc5d2641babab165d8a9943817c46d36c6dc17c2"
|
SRCREV = "8da8c026bd551b7685a8a140909ff96cfe91bf90"
|
||||||
PV = "1.3.0"
|
PV = "1.3.0+git"
|
||||||
|
SRC_URI = "git://github.com/cwzx/nngpp;branch=master;protocol=https \
|
||||||
SRC_URI = "git://github.com/cwzx/nngpp;branch=master;protocol=https"
|
file://0001-cmake-Bump-minimum-version-to-3.10.patch \
|
||||||
|
"
|
||||||
|
|
||||||
inherit cmake
|
inherit cmake
|
||||||
|
|||||||
Reference in New Issue
Block a user