summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-26 17:55:28 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-26 22:24:25 +0200
commit01d207a5076b6fc37a064645b13f2c6550f58b94 (patch)
treeed04cb857a9f5d4c53a84d9951834fa5bb2a1cac /CMakeLists.txt
parent6f1f3c9afdb6ade6a7be110b90c8fc9e603254cf (diff)
CMake: Add missing iconv dependency
FreeBSD has two iconv systems: It ships an iconv.h itself, and symbols for that in the libc. But there's also the port of GNU libiconv, which unfortunately for us, Doxygen depends on. This changes things to prefer a separate libiconv library over the system one; that is, the port on FreeBSD. Gbp-Dch: ignore
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 24c58a0f8..35c75b18a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -29,6 +29,7 @@ include(GNUInstallDirs)
include(TestBigEndian)
find_package(Threads)
find_package(LFS REQUIRED)
+find_package(Iconv REQUIRED)
if(USE_NLS)
find_package(Intl REQUIRED)