summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch')
-rw-r--r--recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch b/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch
new file mode 100644
index 000000000..f11deb758
--- /dev/null
+++ b/recipes-bsp/isp-imx/isp-imx/0003-appshell-cmake-drop-deprecated-use-of-target_link_li.patch
@@ -0,0 +1,37 @@
1From db07010535d47d7d7eaf3865d97dcec045e19930 Mon Sep 17 00:00:00 2001
2From: Max Krummenacher <max.krummenacher@toradex.com>
3Date: Fri, 25 Jul 2025 09:57:22 +0000
4Subject: [PATCH 3/5] appshell: cmake: drop deprecated use of
5 target_link_libraries
6
7Works around:
8
9| CMake Error at display/CMakeLists.txt:48 (target_link_libraries):
10| Cannot specify link libraries for target "wayland-client" which is not
11| built by this project.
12
13caused by CMake 4 deprecating https://cmake.org/cmake/help/v3.5/policy/CMP0016.html
14
15CMP0016 states that the command is silently ignored, thus drop it.
16
17Upstream-Status: Pending
18Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
19---
20 appshell/display/CMakeLists.txt | 1 -
21 1 file changed, 1 deletion(-)
22
23diff --git a/appshell/display/CMakeLists.txt b/appshell/display/CMakeLists.txt
24index 458a46b165b4..160755312368 100755
25--- a/appshell/display/CMakeLists.txt
26+++ b/appshell/display/CMakeLists.txt
27@@ -43,7 +43,6 @@ if (WAYLAND_SUPPORT)
28 file(GLOB pub_headers *.h)
29 file(GLOB libsources *.cpp ./wayland-client/*.c)
30 include_directories(./wayland-client)
31- target_link_libraries(wayland-client)
32 else (WAYLAND_SUPPORT)
33 file(GLOB pub_headers *.h)
34 file(GLOB libsources *.cpp)
35--
362.42.0
37