From e8ee4cb40d9ca3bb738ec2c3b320349f2a7dd733 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 26 Sep 2022 16:59:47 +0200 Subject: Defer searching for libintl to CMake resolves #12800 --- src/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 343418668..1f1e987f7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -292,16 +292,15 @@ else() endif(HAVE_LIBRT) endif(APPLE) - # Prefer local iconv if installed find_library(ICONV_LIBRARY iconv) mark_as_advanced(ICONV_LIBRARY) if (ICONV_LIBRARY) set(PLATFORM_LIBS ${PLATFORM_LIBS} ${ICONV_LIBRARY}) endif() + if (HAIKU) - set(PLATFORM_LIBS ${PLATFORM_LIBS} intl network) + set(PLATFORM_LIBS ${PLATFORM_LIBS} network) endif() - endif() check_include_files(endian.h HAVE_ENDIAN_H) -- cgit v1.2.3