From f154124896ea2c54aa6d6a1265af2098f52cc08b Mon Sep 17 00:00:00 2001 From: Bert Gijsbers Date: Sun, 23 Feb 2025 13:29:43 +0100 Subject: [PATCH] Link against NLS libs for icewm-menu-fdo and closes ice-wm/icewm#185. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 169460773..08349ea1f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -492,7 +492,7 @@ endif() IF(CONFIG_FDO_MENUS) set(_tgt icewm-menu-fdo${EXEEXT}) ADD_EXECUTABLE(${_tgt} fdomenu.cc) - TARGET_LINK_LIBRARIES(${_tgt} ice) + TARGET_LINK_LIBRARIES(${_tgt} ice ${nls_LIBS}) # XXX: static linking or LTO make it actually slower #target_compile_options(${_tgt} PUBLIC -flto) #target_link_options(${_tgt} PUBLIC -flto)