From 0678e0c9b3fa16dd8e90fed24e0124788568d20c Mon Sep 17 00:00:00 2001 From: Kyle Sabo Date: Fri, 27 Sep 2019 20:54:27 +0200 Subject: [PATCH] core: fix build on Alpine (closes #1406) --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f5820225..b33696856 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()