diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-07-21 14:46:14 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-07-21 14:46:23 +0200 |
commit | 3e78b29cae00b763e3350bccb27ad48ec3141ef5 (patch) | |
tree | a806e7f3feb58eccb6ac2a298cf9f29e5c6cba1c /src | |
parent | d63c160bd68f878ef0ebd30f125deee0e78429eb (diff) | |
download | minetest-3e78b29cae00b763e3350bccb27ad48ec3141ef5.tar.gz minetest-3e78b29cae00b763e3350bccb27ad48ec3141ef5.tar.bz2 minetest-3e78b29cae00b763e3350bccb27ad48ec3141ef5.zip |
Only install locale files if using gettext
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2d7a7fc68..6cc5c035f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -270,8 +270,10 @@ 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) install(FILES ${IRRLICHT_DLL} DESTINATION ${BINDIR}) |