aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-09-08 08:13:43 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-09-08 08:13:43 -0500
commitcede6ed3caa5b6e55a39ae4d3098479f8981ec64 (patch)
treeb3d88b8cfbfd25dd99e18a5328ac91bd00524673 /src/CMakeLists.txt
parent26e4c859e957efb0831c70fc69323da6ffda4005 (diff)
downloadayatana-indicator-power-cede6ed3caa5b6e55a39ae4d3098479f8981ec64.tar.gz
ayatana-indicator-power-cede6ed3caa5b6e55a39ae4d3098479f8981ec64.tar.bz2
ayatana-indicator-power-cede6ed3caa5b6e55a39ae4d3098479f8981ec64.zip
in device-provider-upower, use glib's G_ADD_PRIVATE() macro
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 66ea239..9b3d815 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -27,6 +27,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
# add warnings/coverage info on handwritten files
# but not the autogenerated ones...
set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wno-bad-function-cast") # g_clear_object()
+set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wno-used-but-marked-unused") # G_ADD_PRIVATE
set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wno-disabled-macro-expansion") # G_DEFINE_TYPE
set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wno-assign-enum") # GParamFlags
set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wno-switch-enum")