on recent cmake gettext blacklisted dont work so let as is
This commit is contained in:
parent
c4c8612268
commit
709abd5042
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user