1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-26 18:21:04 +00:00

updated cmakerules to autodetect if gettext can be used

fixed error if gettext is disabled
This commit is contained in:
Constantin Wenger 2011-07-23 22:36:11 +02:00
parent 4771b4951d
commit f6d9bcc9bb
4 changed files with 26 additions and 18 deletions

View file

@ -77,4 +77,7 @@ IF(GETTEXT_FOUND)
STRING(REPLACE "<locale>" ${_locale} ${_buildvar} ${GETTEXT_MO_BUILD_PATH})
STRING(REPLACE "<locale>" ${_locale} ${_destvar} ${GETTEXT_MO_DEST_PATH})
ENDMACRO(SET_MO_PATHS)
ELSE()
SET(GETTEXT_INCLUDE_DIR "")
SET(GETTEXT_LIBRARY "")
ENDIF()