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:
parent
4771b4951d
commit
f6d9bcc9bb
4 changed files with 26 additions and 18 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue