aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-10-30 14:58:04 -0700
committerCharles Kerr <charles.kerr@canonical.com>2013-10-30 14:58:04 -0700
commit13cc891202d3721fc157c827ed1141ee6221ccbd (patch)
treee8d2ce0d68f3eeb39f0707bdf453cadba1698a30
parentba22b5f09ca1153ff2e516d14d2a8b08e4b842b3 (diff)
downloadayatana-indicator-datetime-13cc891202d3721fc157c827ed1141ee6221ccbd.tar.gz
ayatana-indicator-datetime-13cc891202d3721fc157c827ed1141ee6221ccbd.tar.bz2
ayatana-indicator-datetime-13cc891202d3721fc157c827ed1141ee6221ccbd.zip
let service know how to launch gnome-control-center on the desktop
-rw-r--r--src/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ac3378a..2d51385 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -4,6 +4,11 @@ set (SERVICE_EXEC "indicator-datetime-service")
add_definitions (-DTIMEZONE_FILE="/etc/timezone"
-DG_LOG_DOMAIN="Indicator-Datetime")
+# let service know how to launch gnome-control-center on the desktop
+if (BUILD_PANEL)
+ add_definitions (-DHAVE_CCPANEL)
+endif ()
+
add_library (${SERVICE_LIB} STATIC
clock.c
clock.h