diff options
| author | Markus Volk <f_l_k@t-online.de> | 2025-07-09 20:12:56 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-09 13:35:17 -0700 |
| commit | 77a7925a84563a30d68a7acb022746f386b8b178 (patch) | |
| tree | a68dd3e222936f8ca8850305cae5915fe6098a5e /meta-oe/recipes-graphics/wayland | |
| parent | 95bec3d58ac813085b502e2b0d9eb7a13d09e827 (diff) | |
| download | meta-openembedded-77a7925a84563a30d68a7acb022746f386b8b178.tar.gz | |
waylandpp: fix build with cmake 4
Add a backport patch that fixes build with cmake 4
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/wayland')
| -rw-r--r-- | meta-oe/recipes-graphics/wayland/waylandpp/4576426020932ebc481ae35c15f644af2f17e88a.patch | 23 | ||||
| -rw-r--r-- | meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb | 7 |
2 files changed, 28 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/wayland/waylandpp/4576426020932ebc481ae35c15f644af2f17e88a.patch b/meta-oe/recipes-graphics/wayland/waylandpp/4576426020932ebc481ae35c15f644af2f17e88a.patch new file mode 100644 index 0000000000..5011f05f3d --- /dev/null +++ b/meta-oe/recipes-graphics/wayland/waylandpp/4576426020932ebc481ae35c15f644af2f17e88a.patch | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | From 4576426020932ebc481ae35c15f644af2f17e88a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexey Sokolov <alexey@asokolov.org> | ||
| 3 | Date: Sun, 4 May 2025 14:38:52 +0100 | ||
| 4 | Subject: [PATCH] Fix build with cmake 4 | ||
| 5 | |||
| 6 | Upstream-Status: Backport | ||
| 7 | --- | ||
| 8 | CMakeLists.txt | 2 +- | ||
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 10 | |||
| 11 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
| 12 | index 866477b..8e9d2ad 100644 | ||
| 13 | --- a/CMakeLists.txt | ||
| 14 | +++ b/CMakeLists.txt | ||
| 15 | @@ -21,7 +21,7 @@ | ||
| 16 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
| 17 | # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 18 | |||
| 19 | -cmake_minimum_required(VERSION 3.4) | ||
| 20 | +cmake_minimum_required(VERSION 3.4...4.0) | ||
| 21 | project(waylandpp VERSION 1.0.0 LANGUAGES CXX) | ||
| 22 | |||
| 23 | # packages | ||
diff --git a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb index bb909a313a..0e53807cc7 100644 --- a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb +++ b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb | |||
| @@ -2,8 +2,11 @@ SUMMARY = " C++ binding for Wayland using the most modern C++ technology" | |||
| 2 | LICENSE = "MIT" | 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3aae28cc66d61975114c2b14df215407" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3aae28cc66d61975114c2b14df215407" |
| 4 | 4 | ||
| 5 | SRC_URI = "git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=master \ | 5 | SRC_URI = " \ |
| 6 | file://0001-include-missing-cstdint.patch" | 6 | git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=master \ |
| 7 | file://0001-include-missing-cstdint.patch \ | ||
| 8 | file://4576426020932ebc481ae35c15f644af2f17e88a.patch \ | ||
| 9 | " | ||
| 7 | 10 | ||
| 8 | DEPENDS = "pugixml" | 11 | DEPENDS = "pugixml" |
| 9 | DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2" | 12 | DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2" |
