diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-07-12 16:09:08 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-13 09:46:09 -0700 |
commit | 60c7d0de576f584b6adf2964a34ea5c5172f81a4 (patch) | |
tree | bdca0d586f4abb66136973e22d3b2345ce4f17ec /meta-networking | |
parent | 3424960e053ffbd7c27bb149a134d462eba8dcc2 (diff) | |
download | meta-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.patch | 25 | ||||
-rw-r--r-- | meta-networking/recipes-connectivity/nanomsg/nngpp_git.bb | 10 |
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 @@ | |||
1 | From c5004770784dc5ff80b88487de38c22275a7960a Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 12 Jul 2025 16:04:38 -0700 | ||
4 | Subject: [PATCH] cmake: Bump minimum version to 3.10 | ||
5 | |||
6 | Cmake4+ 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 | |||
10 | Upstream-Status: Submitted [https://github.com/cwzx/nngpp/pull/38] | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | CMakeLists.txt | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
17 | index 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" | |||
4 | LIC_FILES_CHKSUM = "file://license.txt;md5=6d17d78c3597e0d4452fb1c63bf7c58e" | 4 | LIC_FILES_CHKSUM = "file://license.txt;md5=6d17d78c3597e0d4452fb1c63bf7c58e" |
5 | DEPENDS = "nng" | 5 | DEPENDS = "nng" |
6 | 6 | ||
7 | SRCREV = "cc5d2641babab165d8a9943817c46d36c6dc17c2" | 7 | SRCREV = "8da8c026bd551b7685a8a140909ff96cfe91bf90" |
8 | PV = "1.3.0" | 8 | PV = "1.3.0+git" |
9 | 9 | SRC_URI = "git://github.com/cwzx/nngpp;branch=master;protocol=https \ | |
10 | SRC_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 | ||
13 | inherit cmake | 13 | inherit cmake |