summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2022-04-21 01:45:45 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2022-05-07 10:45:44 +0200
commit8d8b45a96ceceb015f7836cf25b99279c2f377b9 (patch)
tree93a497556cdfac9332afbeeffdaf9f8a0485e9b2 /po
parentee06eb541e5aa477880ff0fc575be317eccbd929 (diff)
Link interactive helpers against system libapt for autopkgtest
Building the library just so we can build the helpers against it is not only wasteful but as we are supposed to test the system we can use that as an additional simple smoke test before the real testing starts.
Diffstat (limited to 'po')
-rw-r--r--po/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index c03d6d03e..73d5ddd80 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -4,12 +4,15 @@ set(languages_excluded
he ## disabled by translator request #313283
)
+if (TARGET apt-pkg)
apt_add_translation_domain(
DOMAIN libapt-pkg${APT_PKG_MAJOR}
TARGETS apt-pkg
EXCLUDE_LANGUAGES ${languages_excluded}
)
+endif()
+if (TARGET apt-private)
apt_add_translation_domain(
DOMAIN apt
TARGETS apt apt-cache apt-get apt-config apt-cdrom apt-helper apt-mark
@@ -19,6 +22,7 @@ apt_add_translation_domain(
SCRIPTS ../dselect/install ../dselect/update
EXCLUDE_LANGUAGES ${languages_excluded}
)
+endif()
apt_add_translation_domain(
DOMAIN apt-utils