]> source.dussan.org Git - tigervnc.git/commitdiff
Need to explicitly link with libiconv when using libintl.a.
authorDRC <dcommander@users.sourceforge.net>
Wed, 22 Jun 2011 06:00:57 +0000 (06:00 +0000)
committerDRC <dcommander@users.sourceforge.net>
Wed, 22 Jun 2011 06:00:57 +0000 (06:00 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4517 3789f03b-4d11-0410-bbf8-ca57d06f2519

CMakeLists.txt

index 95153a799356c427d6a95cb2aad597c9299ee9e0..0d74e6013e7d97b338f8703611f466d18513e5b7 100644 (file)
@@ -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()