fixed not finding dll for gettext in MSVC

This commit is contained in:
Constantin Wenger 2011-07-21 16:21:01 +02:00
parent 02b14090c2
commit fc95d00b2f
1 changed files with 2 additions and 2 deletions

View File

@ -31,11 +31,11 @@ IF (WIN32)
NAMES ${GETTEXT_LIB_NAMES} NAMES ${GETTEXT_LIB_NAMES}
PATHS "${CUSTOM_GETTEXT_PATH}/lib" PATHS "${CUSTOM_GETTEXT_PATH}/lib"
DOC "gettext *intl*.lib") DOC "gettext *intl*.lib")
FIND_LIBRARY(GETTEXT_DLL FIND_FILE(GETTEXT_DLL
NAMES libintl.dll intl.dll libintl3.dll intl3.dll NAMES libintl.dll intl.dll libintl3.dll intl3.dll
PATHS "${CUSTOM_GETTEXT_PATH}/bin" "${CUSTOM_GETTEXT_PATH}/lib" PATHS "${CUSTOM_GETTEXT_PATH}/bin" "${CUSTOM_GETTEXT_PATH}/lib"
DOC "gettext *intl*.dll") DOC "gettext *intl*.dll")
FIND_LIBRARY(GETTEXT_ICONV_DLL FIND_FILE(GETTEXT_ICONV_DLL
NAMES libiconv2.dll NAMES libiconv2.dll
PATHS "${CUSTOM_GETTEXT_PATH}/bin" "${CUSTOM_GETTEXT_PATH}/lib" PATHS "${CUSTOM_GETTEXT_PATH}/bin" "${CUSTOM_GETTEXT_PATH}/lib"
DOC "gettext *iconv*.lib") DOC "gettext *iconv*.lib")