diff options
author | rikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-02-14 22:22:21 +0000 |
---|---|---|
committer | rikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-02-14 22:22:21 +0000 |
commit | c0713ab5c3982470f3f970657fa7c8d3d4e8a391 (patch) | |
tree | 366342bade3eb9cfe373f0751874053e5a62a8b3 /po | |
parent | c6c89b87995493b29f81b43755af4c2315d84e2c (diff) | |
download | navit-c0713ab5c3982470f3f970657fa7c8d3d4e8a391.tar.gz |
Fix:Build/cmake:Fixed warnings about unknown charset
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4159 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'po')
-rw-r--r-- | po/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/po/CMakeLists.txt b/po/CMakeLists.txt index 90abaeee4..e2c6059e8 100644 --- a/po/CMakeLists.txt +++ b/po/CMakeLists.txt @@ -33,7 +33,10 @@ ADD_CUSTOM_COMMAND( ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/navit.po DEPENDS ${POTFILES} - COMMAND ${XGETTEXT} --no-location --default-domain=navit --add-comments --keyword=_ --keyword=_n ${POTFILES} + COMMAND ${XGETTEXT} --no-location --default-domain=navit_tmp --add-comments --keyword=_ --keyword=_n ${POTFILES} + COMMAND ${CMAKE_COMMAND} -DMATCHES="CHARSET" -DREPLACE="utf-8" + -DSRC=${CMAKE_CURRENT_BINARY_DIR}/navit_tmp.po -DDST=${CMAKE_CURRENT_BINARY_DIR}/navit.po + -P ${PROJECT_SOURCE_DIR}/cmake/replace.cmake ) FILE(GLOB POIN_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.po.in") |