]> git.saurik.com Git - apt.git/commit
CMake: Add support for libintl
authorJulian Andres Klode <jak@debian.org>
Tue, 23 Aug 2016 16:48:43 +0000 (18:48 +0200)
committerJulian Andres Klode <jak@debian.org>
Fri, 26 Aug 2016 17:50:57 +0000 (19:50 +0200)
commitcede4eda68220a002822194605d436b7ca044afa
tree299fed79a722a4babb8ec56bf904cedbd8bf5da7
parent24ad9b325f2d277864e3a75931137b93dd75cd03
CMake: Add support for libintl

This basically just links everything to libintl if USE_NLS is
on. It would be better to just link those targets that are
actually translated, but doing so is a huge PITA.

Also move the include_directories() for the build-tree include/
directory to the top of the CMakeLists.txt, otherwise it only
gets passed after Intl_INCLUDE_DIRS, which means we will built
against installed apt-pkg headers (if any) instead of our own.

Gbp-Dch: ignore
CMakeLists.txt