summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-05-04 19:53:55 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2013-05-04 19:53:55 +0000
commit05a5f7c4a170dc503aee2800abfa742683af4876 (patch)
tree7a210aea85fd109247235c0e3b9e3171d75eadd5 /CMakeLists.txt
parenta99883eb809d407ac418a4670b91eb7dc803b423 (diff)
downloadnavit-05a5f7c4a170dc503aee2800abfa742683af4876.tar.gz
Add:Build:Improved gettext handling
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5475 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'CMakeLists.txt')
-rwxr-xr-xCMakeLists.txt11
1 files changed, 1 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 043b7b27f..3fb54e715 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -112,7 +112,7 @@ find_package(SDL_image)
find_package(OpenGL)
find_package(GLUT)
find_package(GTK2 2.6 COMPONENTS gtk)
-find_package(Gettext)
+find_package(XGettextGlade)
find_package(PNG)
find_package(DBusGLib)
find_package(OpenSSL)
@@ -342,15 +342,6 @@ if (HAVE_CREATEPROCESS)
set_with_reason(speech/cmdline "CreateProcess() call is available" TRUE)
endif(HAVE_CREATEPROCESS)
-if (GETTEXT_FOUND)
- execute_process(COMMAND echo "<test/>" COMMAND xgettext -L glade - RESULT_VARIABLE GETTEXT_RET)
- if ("${GETTEXT_RET}" STREQUAL "0")
- set(XGETTEXT_GLADE TRUE)
- else()
- set(XGETTEXT_GLADE FALSE)
- endif()
-endif(GETTEXT_FOUND)
-
if (LIBLOCATION_FOUND)
set_with_reason(vehicle/maemo "Maemo location library found" TRUE ${LIBLOCATION_LIBRARIES})
endif(LIBLOCATION_FOUND)