diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c925d348e..09ce26d47 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -676,28 +676,6 @@ if(BUILD_SERVER) endif() endif(BUILD_SERVER) -# Blacklisted locales that don't work. -# see issue #4638 -set(GETTEXT_BLACKLISTED_LOCALES - ar - he - ky - ms_Arab - th -) - -option(APPLY_LOCALE_BLACKLIST "Use a blacklist to avoid broken locales" TRUE) - -if (GETTEXTLIB_FOUND AND APPLY_LOCALE_BLACKLIST) - set(GETTEXT_USED_LOCALES "") - foreach(LOCALE ${GETTEXT_AVAILABLE_LOCALES}) - if (NOT "${LOCALE}" IN_LIST GETTEXT_BLACKLISTED_LOCALES) - list(APPEND GETTEXT_USED_LOCALES ${LOCALE}) - endif() - endforeach() - message(STATUS "Locale blacklist applied; Locales used: ${GETTEXT_USED_LOCALES}") -endif() - # Set some optimizations and tweaks include(CheckCSourceCompiles)