Browse Source

Some platforms (I'm looking at you, MinGW64) have gettext but not iconv, so the build fails because iconv.h is missing. Thus, disable NLS if either gettext or iconv is not found.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4775 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.1.90
DRC 12 years ago
parent
commit
37596ddea2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      CMakeLists.txt

+ 1
- 1
CMakeLists.txt View 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()

Loading…
Cancel
Save