aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorConstantin Wenger <constantin.wenger@googlemail.com>2011-07-21 13:24:37 +0200
committerConstantin Wenger <constantin.wenger@googlemail.com>2011-07-21 13:24:37 +0200
commitad2f95fc700f1625bf1ac30e5de3ff8b8b7180ba (patch)
treefb2405b719edbfd01e5ea5d5d3e027d6276caa5d /cmake/Modules
parentb99174cb0c680396373c0190d4c04afa7e28028f (diff)
downloadminetest-ad2f95fc700f1625bf1ac30e5de3ff8b8b7180ba.tar.gz
minetest-ad2f95fc700f1625bf1ac30e5de3ff8b8b7180ba.tar.bz2
minetest-ad2f95fc700f1625bf1ac30e5de3ff8b8b7180ba.zip
updated some path because the dlls are mostly under bin not lib
added explanation why libintl must not belinked under some oses
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/FindGettextLib.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/Modules/FindGettextLib.cmake b/cmake/Modules/FindGettextLib.cmake
index 1ef8997f4..3fb391e65 100644
--- a/cmake/Modules/FindGettextLib.cmake
+++ b/cmake/Modules/FindGettextLib.cmake
@@ -17,6 +17,7 @@ FIND_PROGRAM(GETTEXT_MSGFMT
DOC "path to msgfmt")
# modern Linux, as well as Mac, seem to not need require special linking
+# they do not because gettext is part of glibc
# TODO check the requirements on other BSDs and older Linux
IF (WIN32)
FIND_LIBRARY(GETTEXT_LIBRARY
@@ -25,11 +26,11 @@ IF (WIN32)
DOC "gettext *intl*.lib")
FIND_LIBRARY(GETTEXT_DLL
NAMES libintl.dll intl.dll libintl3.dll intl3.dll
- PATHS "${CUSTOM_GETTEXT_PATH}/lib"
+ PATHS "${CUSTOM_GETTEXT_PATH}/bin" "${CUSTOM_GETTEXT_PATH}/lib"
DOC "gettext *intl*.dll")
FIND_LIBRARY(GETTEXT_ICONV_DLL
NAMES libiconv2.dll
- PATHS "${CUSTOM_GETTEXT_PATH}/lib"
+ PATHS "${CUSTOM_GETTEXT_PATH}/bin" "${CUSTOM_GETTEXT_PATH}/lib"
DOC "gettext *iconv*.lib")
ENDIF(WIN32)