~ubuntu-branches/ubuntu/trusty/sunpinyin/trusty-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): YunQiang Su
  • Date: 2012-04-11 03:06:40 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120411030640-wl9yw5no4n4lcf82
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
 
# CMakeLists.txt: cmake config file for ibus-sunpinyin
2
 
 
3
 
find_package(GTK2 REQUIRED gtk)
4
 
find_package(iBus 1.2 REQUIRED)
5
 
find_package(SunPinyin 2.0 REQUIRED)
6
 
 
7
 
include_directories(${GTK2_INCLUDE_DIRS} ${iBus_INCLUDE_DIRS} ${SunPinyin_INCLUDE_DIRS})
8
 
set(LIBS ${LIBS} ${GTK2_LIBRARIES} ${iBus_LIBRARIES} ${SunPinyin_LIBRARIES})
9
 
set(ENGINE_SRCS
10
 
    main.cpp
11
 
    engine.cpp 
12
 
    pointer.h ibus_common.h
13
 
    imi_ibus_win.cpp imi_ibus_win.h
14
 
    sunpinyin_config_keys.h
15
 
    sunpinyin_config.cpp sunpinyin_config.h
16
 
    sunpinyin_engine.cpp sunpinyin_engine.h
17
 
    sunpinyin_engine_proxy.cpp sunpinyin_engine_proxy.h
18
 
    sunpinyin_lookup_table.cpp sunpinyin_lookup_table.h
19
 
    sunpinyin_property.cpp sunpinyin_property.h)
20
 
 
21
 
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
22
 
add_executable(ibus-engine-sunpinyin ${ENGINE_SRCS})
23
 
target_link_libraries(ibus-engine-sunpinyin ${LIBS})
24
 
 
25
 
install(TARGETS ibus-engine-sunpinyin
26
 
    RUNTIME DESTINATION ${LIBEXEC_DIR})