projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d63c160
)
Only install locale files if using gettext
author
Giuseppe Bilotta
<giuseppe.bilotta@gmail.com>
Thu, 21 Jul 2011 12:46:14 +0000
(14:46 +0200)
committer
Giuseppe Bilotta
<giuseppe.bilotta@gmail.com>
Thu, 21 Jul 2011 12:46:23 +0000
(14:46 +0200)
src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index 2d7a7fc68a9c5f18f8ee08b21e7e4ef609d2cf91..6cc5c035f602a0199e62978ec1f387a747fd571d 100644
(file)
--- 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})