diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-09-09 04:22:19 +0000 |
---|---|---|
committer | CI bot <ps-jenkins@lists.canonical.com> | 2014-09-09 04:22:19 +0000 |
commit | 2720a578326d51a49f00e3e4e69d86f8ba23ab0d (patch) | |
tree | 383d4b9a64d0ad6601b00fe30d39d8f72ef9a7a2 /src/CMakeLists.txt | |
parent | 4b15eb106da8764c3bd12e746b8f19bf458b7470 (diff) | |
parent | 0c312c160b796c6c724c26e8a1063843c23b9ba3 (diff) | |
download | ayatana-indicator-power-2720a578326d51a49f00e3e4e69d86f8ba23ab0d.tar.gz ayatana-indicator-power-2720a578326d51a49f00e3e4e69d86f8ba23ab0d.tar.bz2 ayatana-indicator-power-2720a578326d51a49f00e3e4e69d86f8ba23ab0d.zip |
Add support for UPower 0.99. Fixes: 1330037
Approved by: Ted Gould, PS Jenkins bot
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7a4a297..9b3d815 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -16,10 +16,6 @@ set(SERVICE_MANUAL_SOURCES # generated sources include(GdbusCodegen) set(SERVICE_GENERATED_SOURCES) -add_gdbus_codegen_with_namespace(SERVICE_GENERATED_SOURCES dbus-upower - org.freedesktop - Dbus - ${CMAKE_CURRENT_SOURCE_DIR}/org.freedesktop.UPower.xml) add_gdbus_codegen_with_namespace(SERVICE_GENERATED_SOURCES dbus-battery com.canonical.indicator.power Dbus @@ -31,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") |