diff options
author | Kyle Sabo <robo210@gmail.com> | 2019-09-27 20:54:27 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-09-27 20:56:09 +0200 |
commit | 0678e0c9b3fa16dd8e90fed24e0124788568d20c (patch) | |
tree | d26bf05d033ada9190603b51071ffbb714923e6c | |
parent | ae38b114072858ca4cd21d8492c54a2ae592d196 (diff) | |
download | weechat-0678e0c9b3fa16dd8e90fed24e0124788568d20c.zip |
core: fix build on Alpine (closes #1406)
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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() |