diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-01-28 16:26:45 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-01-28 16:26:45 -0600 |
commit | ee9f4c7ef822a101cea8d12c565d8a8a93d9caf5 (patch) | |
tree | ba2001502ccc38e337320efc6d4c24c8fec7c424 /src/CMakeLists.txt | |
parent | e57a2e9b860db9776d94356a6fc38e193c801f65 (diff) | |
download | ayatana-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 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b8c62fd..eb716d4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,6 +1,7 @@ set (SERVICE_LIB "indicatordatetimeservice") set (SERVICE_EXEC "indicator-datetime-service") +SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -g ${CXX_WARNING_ARGS} ${GCOV_FLAGS}") SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g ${CXX_WARNING_ARGS} ${GCOV_FLAGS}") add_definitions (-DTIMEZONE_FILE="/etc/timezone" @@ -29,7 +30,7 @@ add_library (${SERVICE_LIB} STATIC timezone-file.cpp timezone-geoclue.cpp timezones-live.cpp - utils.cpp) + utils.c) include_directories (${CMAKE_SOURCE_DIR}) link_directories (${SERVICE_DEPS_LIBRARY_DIRS}) |