]> source.dussan.org Git - tigervnc.git/commitdiff
Some platforms (I'm looking at you, MinGW64) have gettext but not iconv, so the build...
authorDRC <dcommander@users.sourceforge.net>
Tue, 8 Nov 2011 08:38:58 +0000 (08:38 +0000)
committerDRC <dcommander@users.sourceforge.net>
Tue, 8 Nov 2011 08:38:58 +0000 (08:38 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4775 3789f03b-4d11-0410-bbf8-ca57d06f2519

CMakeLists.txt

index fbd1dc91d094e2da997143cfc4b5621561e0716d..15e2f67087cf6df74cf560f2b9c01ff07d699932 100644 (file)
@@ -189,7 +189,7 @@ if(ENABLE_NLS)
     endif()
   endif()
 
-  if(NOT GETTEXT_FOUND)
+  if(NOT GETTEXT_FOUND OR NOT ICONV_FOUND)
     message(WARNING "Gettext NOT found.  Native Language Support disabled.")
     set(ENABLE_NLS 0)
   endif()