~ubuntu-branches/ubuntu/quantal/sunpinyin/quantal

« back to all changes in this revision

Viewing changes to wrapper/ibus/po/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): YunQiang Su
  • Date: 2012-04-11 03:06:40 UTC
  • mfrom: (1.1.4) (1.2.8 sid)
  • Revision ID: package-import@ubuntu.com-20120411030640-8mxepz5e6wffy87c
Tags: 2.0.3+git20120404-1
* Medium urgency for fixing RC bug.
* New upstream commit: fix FTBFS with gcc-4.7 (Closes: #667385).
* Add Multi-Arch: same to libsunpinyin3, -dev and -dbg.
* Add YunQiang Su to uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include(Gettext)
2
 
 
3
 
set(POT_SRCS
4
 
    ../src/main.cpp
5
 
    ../src/sunpinyin_property.cpp
6
 
    ../setup/setup.glade)
7
 
set(LANGS zh_CN)
8
 
set(POT_FILE ${CMAKE_CURRENT_BINARY_DIR}/${GETTEXT_PACKAGE}.pot)
9
 
 
10
 
if (GETTEXT_FOUND)
11
 
    GETTEXT_CREATE_POT(${POT_FILE} OPTION ${XGETTEXT_OPTIONS} SRC ${POT_SRCS})
12
 
    GETTEXT_CREATE_TRANSLATIONS(${POT_FILE} ALL ${LANGS}
13
 
                                COMMENT "Creating translations.")
14
 
endif()
15