diff options
author | Robert Tari <robert@tari.in> | 2020-09-03 18:43:57 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-09-04 19:15:05 +0000 |
commit | 147130a91624079dbc6237d2426f122e0f6513e6 (patch) | |
tree | 3f5f484e69eb1daa45a2e1a4feba003cfbe9f0ed /CMakeLists.txt | |
parent | 2849569fffd380b4424278c848e9483e54e4a0c5 (diff) | |
download | ayatana-indicator-power-147130a91624079dbc6237d2426f122e0f6513e6.tar.gz ayatana-indicator-power-147130a91624079dbc6237d2426f122e0f6513e6.tar.bz2 ayatana-indicator-power-147130a91624079dbc6237d2426f122e0f6513e6.zip |
Fix deprecations and build warnings.
Fixes AyatanaIndicators/ayatana-indicator-power#9.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 11ed3f6..c5580f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -69,7 +69,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") 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") + set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wall -Wformat=2") # Use -Wextra and -Wpedantic explicitly if needed endif() set(C_WARNING_ARGS "${C_WARNING_ARGS} -Wno-missing-field-initializers") # GActionEntry |