~unity8-desktop-session-team/indicator-session/indicator-session-using-upstart

« back to all changes in this revision

Viewing changes to src/CMakeLists.txt

  • Committer: Charles Kerr
  • Date: 2013-07-02 00:26:11 UTC
  • mto: This revision was merged to the branch mainline in revision 399.
  • Revision ID: charles.kerr@canonical.com-20130702002611-lhtxz8ouz9uc2ldx
in cmake/Translations.cmake, use the GNUInstallDirs variables

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
             service.h
10
10
             users.c
11
11
             users.h)
 
12
set_target_properties (libindicatorsessionservice PROPERTIES COMPILE_FLAGS " -g ${CC_WARNING_ARGS} ${GCOV_FLAGS}")
 
13
 
12
14
include_directories(${SERVICE_INCLUDE_DIRS})
13
15
link_directories(${SERVICE_LIBRARY_DIRS})
14
16
 
15
17
set (SERVICE_EXEC "indicator-session-service")
16
 
set_property (SOURCE main.c
17
 
              APPEND PROPERTY COMPILE_DEFINITIONS
18
 
              GETTEXT_PACKAGE="${GETTEXT_PACKAGE}"
19
 
              GNOMELOCALEDIR="@CMAKE_INSTALL_FULL_LOCALEDIR@")
20
18
add_executable (${SERVICE_EXEC} main.c)
21
19
target_link_libraries (${SERVICE_EXEC} libindicatorsessionservice backenddbus ${SERVICE_LIBRARIES} ${GCOV_LIBS})
22
 
install (TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_PKGLIBEXECDIR})
23
 
 
24
 
# common properties
25
 
set_property (TARGET libindicatorsessionservice ${SERVICE_EXEC}
26
 
              APPEND_STRING PROPERTY COMPILE_FLAGS
27
 
              " -g ${CC_WARNING_ARGS} ${GCOV_FLAGS}")
 
20
install (TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION ${PROJECT_LIBEXECDIR})