diff options
author | sfan5 <sfan5@live.de> | 2022-09-26 16:59:47 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-10-13 23:02:11 +0200 |
commit | e8ee4cb40d9ca3bb738ec2c3b320349f2a7dd733 (patch) | |
tree | cdfed16c7b0aa156394ab513c49b5d574f770d91 /src | |
parent | af38bae57f4f0f77bf2c0cf029928567e554b60b (diff) | |
download | minetest-e8ee4cb40d9ca3bb738ec2c3b320349f2a7dd733.tar.xz |
Defer searching for libintl to CMake
resolves #12800
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 5 |
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) |