summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-26 15:41:56 +0000
committerscarab <scarab@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-08-26 15:41:56 +0000
commitd2292c599cb7e7a3a1ecae9c69068c90478c804a (patch)
treed1c81cc77318a5e3fe737c369b445ce7e15eec73 /po
parente2e5ce4210c087d20b715edc4736ada0b62177a2 (diff)
- rozchozeni gettextu i pro windowsaci verzi tuxanku (zbyva poresit ze to v konzoli nezobrazuje UTF!)
git-svn-id: http://opensvn.csie.org/tuxanci_ng@251 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'po')
-rw-r--r--po/CMakeLists.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt
index a477ffc..b44f628 100644
--- a/po/CMakeLists.txt
+++ b/po/CMakeLists.txt
@@ -1,10 +1,15 @@
###############################################################################
# WE NEED GETTEXT
##############################################################################
-FIND_PACKAGE ( Gettext REQUIRED )
-IF ( NOT GETTEXT_MSGFMT_EXECUTABLE )
- MESSAGE ( FATAL_ERROR "Please install the msgfmt binary" )
-ENDIF ( NOT GETTEXT_MSGFMT_EXECUTABLE )
+IF ( NOT Win )
+ FIND_PACKAGE ( Gettext REQUIRED )
+ IF ( NOT GETTEXT_MSGFMT_EXECUTABLE )
+ MESSAGE ( FATAL_ERROR "Please install the msgfmt binary" )
+ ENDIF ( NOT GETTEXT_MSGFMT_EXECUTABLE )
+ELSE ( NOT Win )
+ # yet again windows need ugly hack
+ SET ( GETTEXT_MSGFMT_EXECUTABLE "C:/Program Files/GnuWin32/bin/msgfmt.exe" )
+ENDIF ( NOT Win )
FILE ( GLOB _po_files *.po )
SET ( _gmoFiles )
###############################################################################