diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2014-01-10 14:45:41 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2014-01-10 14:45:41 +1300 |
commit | 282993043650b14736443d9a100311c1fdd1f7d4 (patch) | |
tree | 63da37d9ca91d29819ff3ede836cd1a7f4a88dfe /CMakeLists.txt | |
parent | 2c8955bb8c4c2d6914255d914bf2460dfd2723d7 (diff) | |
download | ayatana-indicator-datetime-282993043650b14736443d9a100311c1fdd1f7d4.tar.gz ayatana-indicator-datetime-282993043650b14736443d9a100311c1fdd1f7d4.tar.bz2 ayatana-indicator-datetime-282993043650b14736443d9a100311c1fdd1f7d4.zip |
Support both gnome-control-center and unity-control-center
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ee5cf9..fc8a639 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,17 @@ if (PANEL_DEPS_FOUND) set (BUILD_PANEL 1) endif () +pkg_check_modules (UNITY_PANEL_DEPS + glib-2.0>=2.36 + gio-unix-2.0>=2.36 + gtk+-3.0>=3.1.4 + timezonemap + libunity-control-center + polkit-gobject-1) +if (UNITY_PANEL_DEPS_FOUND) + set (BUILD_UNITY_PANEL 1) +endif () + ## ## custom targets ## @@ -93,7 +104,10 @@ endif () # actually build things add_subdirectory (src) if (BUILD_PANEL) - add_subdirectory (panel) + add_subdirectory (panel-gnome) +endif () +if (BUILD_UNITY_PANEL) + add_subdirectory (panel-unity) endif () add_subdirectory (data) add_subdirectory (po) |