aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules/FindGettextLib.cmake
diff options
context:
space:
mode:
authorConstantin Wenger <constantin.wenger@googlemail.com>2011-07-21 16:21:01 +0200
committerConstantin Wenger <constantin.wenger@googlemail.com>2011-07-21 16:21:01 +0200
commit4e5aac5f26b5acc6e0d7c86c25ada911b09a7426 (patch)
tree132404c98054630e9720b594bac9ce6b173e2f2a /cmake/Modules/FindGettextLib.cmake
parent767280577b89503d5a0c7034fd66eae1694d0ce9 (diff)
downloadminetest-4e5aac5f26b5acc6e0d7c86c25ada911b09a7426.tar.gz
minetest-4e5aac5f26b5acc6e0d7c86c25ada911b09a7426.tar.bz2
minetest-4e5aac5f26b5acc6e0d7c86c25ada911b09a7426.zip
fixed not finding dll for gettext in MSVC
Diffstat (limited to 'cmake/Modules/FindGettextLib.cmake')
-rw-r--r--cmake/Modules/FindGettextLib.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/FindGettextLib.cmake b/cmake/Modules/FindGettextLib.cmake
index 1bc92708a..f7ac8de5d 100644
--- a/cmake/Modules/FindGettextLib.cmake
+++ b/cmake/Modules/FindGettextLib.cmake
@@ -31,11 +31,11 @@ IF (WIN32)
NAMES ${GETTEXT_LIB_NAMES}
PATHS "${CUSTOM_GETTEXT_PATH}/lib"
DOC "gettext *intl*.lib")
- FIND_LIBRARY(GETTEXT_DLL
+ FIND_FILE(GETTEXT_DLL
NAMES libintl.dll intl.dll libintl3.dll intl3.dll
PATHS "${CUSTOM_GETTEXT_PATH}/bin" "${CUSTOM_GETTEXT_PATH}/lib"
DOC "gettext *intl*.dll")
- FIND_LIBRARY(GETTEXT_ICONV_DLL
+ FIND_FILE(GETTEXT_ICONV_DLL
NAMES libiconv2.dll
PATHS "${CUSTOM_GETTEXT_PATH}/bin" "${CUSTOM_GETTEXT_PATH}/lib"
DOC "gettext *iconv*.lib")