diff options
Diffstat (limited to 'meta-oe/recipes-extended/7zip/bit7z/0001-cmake-disable-dependency-inclusion.patch')
-rw-r--r-- | meta-oe/recipes-extended/7zip/bit7z/0001-cmake-disable-dependency-inclusion.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/7zip/bit7z/0001-cmake-disable-dependency-inclusion.patch b/meta-oe/recipes-extended/7zip/bit7z/0001-cmake-disable-dependency-inclusion.patch new file mode 100644 index 0000000000..1b0dfa1eb1 --- /dev/null +++ b/meta-oe/recipes-extended/7zip/bit7z/0001-cmake-disable-dependency-inclusion.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 5e23482b89dfbed025eb5e505aba6420512bd9c3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Peter Marko <peter.marko@siemens.com> | ||
3 | Date: Tue, 1 Apr 2025 11:31:38 +0200 | ||
4 | Subject: [PATCH] cmake: disable dependency inclusion | ||
5 | |||
6 | In Yocto we don't download dependencies, they are satisfied from | ||
7 | sysroot. | ||
8 | This cmake file would try to download dependency management tool CPM | ||
9 | even if all dependencies are satisfied. | ||
10 | |||
11 | Upstream-Status: Inappropriate [OE-specific] | ||
12 | Signed-off-by: Peter Marko <peter.marko@siemens.com> | ||
13 | --- | ||
14 | CMakeLists.txt | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
18 | index 5378bb3..5916025 100644 | ||
19 | --- a/CMakeLists.txt | ||
20 | +++ b/CMakeLists.txt | ||
21 | @@ -194,7 +194,7 @@ include( cmake/BuildOptions.cmake ) | ||
22 | include( cmake/CompilerOptions.cmake ) | ||
23 | |||
24 | # dependencies | ||
25 | -include( cmake/Dependencies.cmake ) | ||
26 | +#include( cmake/Dependencies.cmake ) | ||
27 | |||
28 | # 7-zip source code | ||
29 | target_link_libraries( ${LIB_TARGET} PRIVATE 7-zip ) | ||