aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-23 19:01:51 -0700
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-07-23 19:01:51 -0700
commitf4a08f7fb3c9a249ad1256e2cf1a2e2ca3f2a709 (patch)
tree10f243e6ebcfcae48c3bed491ed1e6f18e19a4f7 /cmake
parenta7daf8e652a3354c5e5128d070b8547722a0d7ca (diff)
parentf6d9bcc9bb020f79f73bc2cf0187f73a6d1d9275 (diff)
downloadminetest-f4a08f7fb3c9a249ad1256e2cf1a2e2ca3f2a709.tar.gz
minetest-f4a08f7fb3c9a249ad1256e2cf1a2e2ca3f2a709.tar.bz2
minetest-f4a08f7fb3c9a249ad1256e2cf1a2e2ca3f2a709.zip
Merge pull request #34 from SpeedProg/master
Changes to make gettext enabled if it is found
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/FindGettextLib.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/Modules/FindGettextLib.cmake b/cmake/Modules/FindGettextLib.cmake
index b99fd33b8..1c36f8c6e 100644
--- a/cmake/Modules/FindGettextLib.cmake
+++ b/cmake/Modules/FindGettextLib.cmake
@@ -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()