1
set (SERVICE_LIB "libindicatordatetimeservice")
2
set (SERVICE_EXEC "indicator-datetime-service")
4
add_definitions (-DTIMEZONE_FILE="/etc/timezone"
5
-DG_LOG_DOMAIN="Indicator-Datetime")
7
add_library (${SERVICE_LIB} STATIC
28
include_directories (${SERVICE_DEPS_INCLUDE_DIRS})
29
link_directories (${SERVICE_DEPS_LIBRARY_DIRS})
31
add_executable (${SERVICE_EXEC} main.c)
32
target_link_libraries (${SERVICE_EXEC} ${SERVICE_LIB} ${SERVICE_DEPS_LIBRARIES} ${GCOV_LIBS})
33
install (TARGETS ${SERVICE_EXEC} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_PKGLIBEXECDIR})
36
set_property (TARGET ${SERVICE_LIB} ${SERVICE_EXEC}
37
APPEND_STRING PROPERTY COMPILE_FLAGS
38
" -g ${CC_WARNING_ARGS} ${GCOV_FLAGS}")