summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-10-23 03:29:10 +0200
committerJulian Andres Klode <jak@debian.org>2017-10-23 04:19:19 +0200
commit43b9eb5bac15666fdc0346aca7031fab0fa5e064 (patch)
tree4e40fe1a78569bceb4dc0fed677188e902244b86 /po
parent669b310a6676f2247165e492b673d2e5bcb06f89 (diff)
CMake: methods: Cleanup link libraries, use OBJECT libraries
Use OBJECT libraries for http and connect stuff, and move the seccomp link expression into a global link_libraries() call. This also fixes a bug where only the http target pulled in the gnutls header arguments despite gnutls being used in connect.cc, and thus by mirror and ftp as well. Adjust translation support to ignore TARGET_OBJECTS sources and add the OBJECT libraries to the translated files.
Diffstat (limited to 'po')
-rw-r--r--po/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index 57015eca7..f69123a26 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -15,7 +15,7 @@ apt_add_translation_domain(
TARGETS apt apt-cache apt-get apt-config apt-cdrom apt-helper apt-mark
apt-private
# Methods
- file copy store gpgv cdrom http ftp rred rsh mirror
+ connectlib httplib file copy store gpgv cdrom http ftp rred rsh mirror
SCRIPTS ../dselect/install ../dselect/update
EXCLUDE_LANGUAGES ${languages_excluded}
)