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 | 7b93fb59cfbc9d89e13b8046634c0ab5a1a4a691 (patch) | |
tree | 4650d9b08aff80453f05a217794d0901e2782c09 /src | |
parent | adb7181969a6398762873298ef0b50ca575d7b31 (diff) | |
download | minetest-7b93fb59cfbc9d89e13b8046634c0ab5a1a4a691.tar.gz minetest-7b93fb59cfbc9d89e13b8046634c0ab5a1a4a691.tar.bz2 minetest-7b93fb59cfbc9d89e13b8046634c0ab5a1a4a691.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}) |