~ubuntu-branches/ubuntu/trusty/fcitx/trusty-proposed

« back to all changes in this revision

Viewing changes to src/module/chttrans/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Aron Xu
  • Date: 2013-02-10 17:03:56 UTC
  • mfrom: (1.3.18) (33.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20130210170356-2yuv6xy3ed378kn0
Tags: 1:4.2.7-1
* New upstream release.
* New binary packages:
  - fcitx-libs-gclient: D-Bus client library for Glib
  - fcitx-libs-qt: D-Bus client library for Qt
  - fcitx-module-quickphrase-editor: Quick Phrase editor module

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include_directories(${PROJECT_SOURCE_DIR}/src)
2
 
 
3
 
if (_ENABLE_OPENCC)
4
 
    include_directories(${OPENCC_INCLUDE_DIRS})
5
 
    link_directories(${OPENCC_LIBRARY_DIRS})
6
 
endif (_ENABLE_OPENCC)
7
 
 
8
1
set(FCITX_CHTTRANS_SOURCES
9
 
    chttrans.c
10
 
)
11
 
 
12
 
fcitx_add_addon(fcitx-chttrans ${FCITX_CHTTRANS_SOURCES})
13
 
 
14
 
if (_ENABLE_OPENCC)
15
 
    target_link_libraries( fcitx-chttrans ${OPENCC_LIBRARIES} )
16
 
    include_directories(${OPENCC_INCLUDE_DIRS})
17
 
endif (_ENABLE_OPENCC)
18
 
 
19
 
fcitx_add_configdesc_file(fcitx-chttrans.desc)
20
 
fcitx_add_addon_conf_file(fcitx-chttrans.conf)
21
 
fcitx_add_addon_header(chttrans chttrans.h)
 
2
  chttrans.c)
 
3
if(ENABLE_OPENCC)
 
4
  set(FCITX_CHTTRANS_SOURCES ${FCITX_CHTTRANS_SOURCES} chttrans-opencc.c)
 
5
endif()
 
6
 
 
7
fcitx_add_addon_full(chttrans SCAN SCAN_PRIV DESC
 
8
  SOURCES ${FCITX_CHTTRANS_SOURCES}
 
9
  HEADERS chttrans.h
 
10
  EXTRA_PO chttrans-opencc.c)