Only install locale files if using gettext

pull/1/head
Giuseppe Bilotta 2011-07-21 14:46:14 +02:00
parent d63c160bd6
commit 3e78b29cae
1 changed files with 4 additions and 2 deletions

View File

@ -270,7 +270,9 @@ if(BUILD_CLIENT)
install(FILES ${images} DESTINATION ${DATADIR})
install(FILES ${CMAKE_BINARY_DIR}/locale/de/LC_MESSAGES/minetest-delta.mo DESTINATION locale/de/LC_MESSAGES)
if (USE_GETTEXT)
install(FILES ${CMAKE_BINARY_DIR}/locale/de/LC_MESSAGES/minetest-delta.mo DESTINATION locale/de/LC_MESSAGES)
endif()
if(WIN32)
if(DEFINED IRRLICHT_DLL)