core: fix build on Alpine (closes #1406)
parent
ae38b11407
commit
0678e0c9b3
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue