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

« back to all changes in this revision

Viewing changes to wrapper/ibus/cmake/modules/Paths.cmake

  • 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
 
if(NOT DEFINED LIBEXEC_DIR)
2
 
    set(LIBEXEC_DIR "${CMAKE_INSTALL_PREFIX}/libexec")
3
 
endif()
4
 
add_definitions(-DLIBEXECDIR="${LIBEXEC_DIR}")
5
 
 
6
 
set(INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
7
 
set(DATA_DIR "${CMAKE_INSTALL_PREFIX}/share/${PACKAGE}")
8
 
set(ICON_DIR "${DATA_DIR}/icons")
9
 
 
10
 
add_definitions(-DIBUS_SUNPINYIN_ICON_DIR="${ICON_DIR}"
11
 
                -DGETTEXT_PACKAGE="${GETTEXT_PACKAGE}"
12
 
                -DIBUS_SUNPINYIN_LOCALEDIR="${CMAKE_INSTALL_PREFIX}/share/locale")