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()