From 251a2ef5210b2527ec2a959e7356f6cd1a8fc1d2 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 12 May 2021 13:07:05 +0200 Subject: Fix build with musl libc Use FindIntl cmake modules which will leave Intl_LIBRARIES empty if libintl is provided by the libc. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0106aa7..275a3a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,6 +53,7 @@ target_link_libraries(remmina-plugin-nx ${REMMINA_COMMON_LIBRARIES} ${XKBFILE_LIBRARIES} ${LIBSSH_LIBRARIES} + ${Intl_LIBRARIES} ${X11_X11_LIB}) install(TARGETS remmina-plugin-nx DESTINATION ${REMMINA_PLUGINDIR}) -- cgit v1.2.3