aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2022-09-26 16:59:47 +0200
committersfan5 <sfan5@live.de>2022-10-13 23:02:11 +0200
commite8ee4cb40d9ca3bb738ec2c3b320349f2a7dd733 (patch)
treecdfed16c7b0aa156394ab513c49b5d574f770d91 /src
parentaf38bae57f4f0f77bf2c0cf029928567e554b60b (diff)
downloadminetest-e8ee4cb40d9ca3bb738ec2c3b320349f2a7dd733.tar.xz
Defer searching for libintl to CMake
resolves #12800
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
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)