core: fix build on Alpine (closes #1406)

v2.8-utf8proc
Kyle Sabo 2019-09-27 20:54:27 +02:00 committed by Sébastien Helleu
parent ae38b11407
commit 0678e0c9b3
1 changed files with 4 additions and 0 deletions

View File

@ -180,6 +180,10 @@ if(ENABLE_NLS)
find_package(Gettext)
if(GETTEXT_FOUND)
add_definitions(-DENABLE_NLS)
find_package(Intl)
if(Intl_FOUND)
list(APPEND EXTRA_LIBS "${Intl_LIBRARIES}")
endif()
else()
message(SEND_ERROR "Gettext not found")
endif()