From 61729dc902db44323d75c2164950779854cc3e37 Mon Sep 17 00:00:00 2001 From: DRC Date: Wed, 22 Jun 2011 06:00:57 +0000 Subject: [PATCH] Need to explicitly link with libiconv when using libintl.a. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4517 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 95153a79..0d74e601 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -154,7 +154,7 @@ if(ENABLE_NLS) find_library(LIBINTL_LIBRARY NAMES intl libintl) check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT) if(LIBINTL_HAS_DGETTEXT) - set(GETTEXT_LIBRARIES ${LIBINTL_LIBRARY}) + set(GETTEXT_LIBRARIES ${LIBINTL_LIBRARY} ${ICONV_LIBRARIES}) set(GETTEXT_FOUND TRUE) endif() endif() -- 2.39.5