summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-07-12 16:09:08 -0700
committerKhem Raj <raj.khem@gmail.com>2025-07-13 09:46:09 -0700
commit60c7d0de576f584b6adf2964a34ea5c5172f81a4 (patch)
treebdca0d586f4abb66136973e22d3b2345ce4f17ec /meta-networking
parent3424960e053ffbd7c27bb149a134d462eba8dcc2 (diff)
downloadmeta-openembedded-60c7d0de576f584b6adf2964a34ea5c5172f81a4.tar.gz
nngpp: Fix build with cmake4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-connectivity/nanomsg/nngpp/0001-cmake-Bump-minimum-version-to-3.10.patch25
-rw-r--r--meta-networking/recipes-connectivity/nanomsg/nngpp_git.bb10
2 files changed, 30 insertions, 5 deletions
diff --git a/meta-networking/recipes-connectivity/nanomsg/nngpp/0001-cmake-Bump-minimum-version-to-3.10.patch b/meta-networking/recipes-connectivity/nanomsg/nngpp/0001-cmake-Bump-minimum-version-to-3.10.patch
new file mode 100644
index 0000000000..170d799502
--- /dev/null
+++ b/meta-networking/recipes-connectivity/nanomsg/nngpp/0001-cmake-Bump-minimum-version-to-3.10.patch
@@ -0,0 +1,25 @@
1From c5004770784dc5ff80b88487de38c22275a7960a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 12 Jul 2025 16:04:38 -0700
4Subject: [PATCH] cmake: Bump minimum version to 3.10
5
6Cmake4+ has dropped support for cmake < 3.5 [1]
7
8[1] https://cmake.org/cmake/help/latest/release/4.0.html#deprecated-and-removed-features
9
10Upstream-Status: Submitted [https://github.com/cwzx/nngpp/pull/38]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 CMakeLists.txt | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/CMakeLists.txt b/CMakeLists.txt
17index caa7145..45a5ad5 100644
18--- a/CMakeLists.txt
19+++ b/CMakeLists.txt
20@@ -1,4 +1,4 @@
21-cmake_minimum_required (VERSION 3.1)
22+cmake_minimum_required (VERSION 3.10)
23 project(nngpp CXX)
24
25 include(GNUInstallDirs)
diff --git a/meta-networking/recipes-connectivity/nanomsg/nngpp_git.bb b/meta-networking/recipes-connectivity/nanomsg/nngpp_git.bb
index aac26966f1..81a85a7e27 100644
--- a/meta-networking/recipes-connectivity/nanomsg/nngpp_git.bb
+++ b/meta-networking/recipes-connectivity/nanomsg/nngpp_git.bb
@@ -4,10 +4,10 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://license.txt;md5=6d17d78c3597e0d4452fb1c63bf7c58e" 4LIC_FILES_CHKSUM = "file://license.txt;md5=6d17d78c3597e0d4452fb1c63bf7c58e"
5DEPENDS = "nng" 5DEPENDS = "nng"
6 6
7SRCREV = "cc5d2641babab165d8a9943817c46d36c6dc17c2" 7SRCREV = "8da8c026bd551b7685a8a140909ff96cfe91bf90"
8PV = "1.3.0" 8PV = "1.3.0+git"
9 9SRC_URI = "git://github.com/cwzx/nngpp;branch=master;protocol=https \
10SRC_URI = "git://github.com/cwzx/nngpp;branch=master;protocol=https" 10 file://0001-cmake-Bump-minimum-version-to-3.10.patch \
11 11 "
12 12
13inherit cmake 13inherit cmake