summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/apt/apt/0001-cmake-Do-not-build-po-files.patch
blob: 036ce3596329c4fe7dab05d4a1b216a389e361eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 33347f9f8301633b01af4e208b7be5fdfcb0df0c Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 20 Mar 2021 14:45:18 -0700
Subject: [PATCH] cmake: Do not build po files

Fixes
| CMake Error at CMakeLists.txt:252 (add_dependencies):
|   The dependency target "update-po4a" of target "update-po" does not exist.
|

Upstream-Status: Inappropriate [Cross-compile specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 CMakeLists.txt | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index be157a55f..54163ae6c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -252,15 +252,6 @@ add_subdirectory(ftparchive)
 add_subdirectory(methods)
 add_subdirectory(test)
 
-if (USE_NLS)
-add_subdirectory(po)
-endif()
-
-if(TARGET update-po AND TARGET update-po4a)
-# Link update-po4a into the update-po target
-add_dependencies(update-po update-po4a)
-endif()
-
 # Create our directories.
 install_empty_directories(
   ${CONF_DIR}/apt.conf.d