aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-07-21 15:16:59 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-07-21 15:16:59 +0200
commit767280577b89503d5a0c7034fd66eae1694d0ce9 (patch)
tree7ae67632e51e2637c441f706c1105b6c8dd1ba49 /src
parentaa6506ce9617d2a889f4937b525be15d8bdcb589 (diff)
downloadminetest-767280577b89503d5a0c7034fd66eae1694d0ce9.tar.gz
minetest-767280577b89503d5a0c7034fd66eae1694d0ce9.tar.bz2
minetest-767280577b89503d5a0c7034fd66eae1694d0ce9.zip
Reorganize cmake gettext message output to ease debugging
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index c018d8e56..8c6e1d450 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -7,18 +7,18 @@ endif(RUN_IN_PLACE)
if(USE_GETTEXT)
find_package(GettextLib REQUIRED)
+ message(STATUS "gettext include path: ${GETTEXT_INCLUDE_DIR}")
+ message(STATUS "gettext msgfmt path: ${GETTEXT_MSGFMT}")
+ if(WIN32)
+ message(STATUS "gettext library: ${GETTEXT_LIBRARY}")
+ message(STATUS "gettext dll: ${GETTEXT_DLL}")
+ message(STATUS "gettext iconv dll: ${GETTEXT_ICONV_DLL}")
+ endif()
if (GETTEXT_FOUND)
add_definitions( -DUSE_GETTEXT )
- message(STATUS "gettext include path: ${GETTEXT_INCLUDE_DIR}")
- message(STATUS "gettext msgfmt path: ${GETTEXT_MSGFMT}")
- if(WIN32)
- message(STATUS "gettext library: ${GETTEXT_LIBRARY}")
- message(STATUS "gettext dll: ${GETTEXT_DLL}")
- message(STATUS "gettext iconv dll: ${GETTEXT_ICONV_DLL}")
- endif()
message(STATUS "GetText enabled")
else()
- message(ERROR "GetText enabled but not found, disabling")
+ message(STATUS "ERROR: GetText enabled but not found, disabling")
set(USE_GETTEXT FALSE)
endif(GETTEXT_FOUND)
else(USE_GETTEXT)