aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-30 10:52:30 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-07-30 10:52:30 +0000
commitb4f91b1d69a66c2d3e97feeed357243ddfda451f (patch)
tree90e88aefae6fc2eeb49ad4afed75b1f8d2788e6a /CMakeLists.txt
parent967a5479db7d280255f669102f045076e09420d8 (diff)
parentb46ec7d0cc35d10197a1a91f473e0a655188f6eb (diff)
downloadayatana-indicator-power-b4f91b1d69a66c2d3e97feeed357243ddfda451f.tar.gz
ayatana-indicator-power-b4f91b1d69a66c2d3e97feeed357243ddfda451f.tar.bz2
ayatana-indicator-power-b4f91b1d69a66c2d3e97feeed357243ddfda451f.zip
Add low-battery notifications. Fixes: 1317858, 1317860
Approved by: PS Jenkins bot, Lars Uebernickel
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 130a662..569100d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,7 @@ pkg_check_modules(SERVICE_DEPS REQUIRED
gio-2.0>=2.36
gio-unix-2.0>=2.36
gudev-1.0>=204
+ libnotify>=0.7.6
url-dispatcher-1>=1)
include_directories (SYSTEM ${SERVICE_DEPS_INCLUDE_DIRS})
@@ -62,7 +63,8 @@ add_custom_target (cppcheck COMMAND cppcheck --enable=all -q --error-exitcode=2
##
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
- set(C_WARNING_ARGS "${C_WARNING_ARGS} -Weverything -Wno-c++98-compat")
+ set(C_WARNING_ARGS "${C_WARNING_ARGS} -Weverything")
+ set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wno-c++98-compat -Wno-padded") # these are annoying
set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wno-documentation") # gtk-doc != doxygen
else()
set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wall -Wextra -Wpedantic -Wformat=2")