Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0
* backported 6caed7073c
from upstream
This commit is contained in:
parent
8d77805791
commit
545ed62909
@ -702,6 +702,8 @@ if (GETTEXT_FOUND AND APPLY_LOCALE_BLACKLIST)
|
|||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
message(STATUS "Locale blacklist applied; Locales used: ${GETTEXT_USED_LOCALES}")
|
message(STATUS "Locale blacklist applied; Locales used: ${GETTEXT_USED_LOCALES}")
|
||||||
|
elseif (GETTEXTLIB_FOUND)
|
||||||
|
set(GETTEXT_USED_LOCALES ${GETTEXT_AVAILABLE_LOCALES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Set some optimizations and tweaks
|
# Set some optimizations and tweaks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user