aboutsummaryrefslogtreecommitdiff
path: root/panel-gnome
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-28 16:26:45 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-28 16:26:45 -0600
commitee9f4c7ef822a101cea8d12c565d8a8a93d9caf5 (patch)
treeba2001502ccc38e337320efc6d4c24c8fec7c424 /panel-gnome
parente57a2e9b860db9776d94356a6fc38e193c801f65 (diff)
downloadayatana-indicator-datetime-ee9f4c7ef822a101cea8d12c565d8a8a93d9caf5.tar.gz
ayatana-indicator-datetime-ee9f4c7ef822a101cea8d12c565d8a8a93d9caf5.tar.bz2
ayatana-indicator-datetime-ee9f4c7ef822a101cea8d12c565d8a8a93d9caf5.zip
make utils.cpp's generate_full_format_string_at_time() a standalone function so that the panels can use the utils functions without a libindicatordatetime dependency
Diffstat (limited to 'panel-gnome')
-rw-r--r--panel-gnome/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/panel-gnome/CMakeLists.txt b/panel-gnome/CMakeLists.txt
index 1135cd4..82c511d 100644
--- a/panel-gnome/CMakeLists.txt
+++ b/panel-gnome/CMakeLists.txt
@@ -3,13 +3,14 @@ set (PANEL_LIB "gnome-indicator-datetime")
add_definitions (-DPKGDATADIR="${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}")
+SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -g")
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g ${CXX_WARNING_ARGS}")
add_library (${PANEL_LIB} SHARED
${CMAKE_SOURCE_DIR}/panel/datetime-prefs.c
${CMAKE_SOURCE_DIR}/panel/datetime-prefs-locations.c
${CMAKE_SOURCE_DIR}/panel/datetime-prefs-locations.h
- ${CMAKE_SOURCE_DIR}/src/utils.cpp
+ ${CMAKE_SOURCE_DIR}/src/utils.c
${CMAKE_SOURCE_DIR}/include/datetime/utils.h
${CMAKE_SOURCE_DIR}/include/datetime/settings-shared.h)
set_property (TARGET ${PANEL_LIB} PROPERTY OUTPUT_NAME indicator-datetime)