aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-09-21 00:39:18 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-10-18 13:47:30 +0200
commit8574368ba3eecd5129804309808065f17309e5ac (patch)
tree27e327b67bbd745de11b818b636a346db7f96d44 /tests/CMakeLists.txt
parent03e97fe27914a4000c0c0b3880f861888ce7ef29 (diff)
downloadayatana-indicator-sound-8574368ba3eecd5129804309808065f17309e5ac.tar.gz
ayatana-indicator-sound-8574368ba3eecd5129804309808065f17309e5ac.tar.bz2
ayatana-indicator-sound-8574368ba3eecd5129804309808065f17309e5ac.zip
tests/CMakeLists.txt: Suppress -Wdiscarded-qualifiers on media-player-mock.c
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 278da0e..532475b 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -81,7 +81,7 @@ vala_init(vala-mocks
--vapidir=.
)
-set_source_files_properties(media-player-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-pointer-types")
+set_source_files_properties(media-player-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-pointer-types -Wno-discarded-qualifiers")
set_source_files_properties(media-player-list-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-pointer-types -Wno-unused-variable")
set_source_files_properties(options-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-pointer-types -Wno-unused-variable")
set_source_files_properties(volume-control-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-pointer-types -Wno-int-to-pointer-cast -Wno-implicit-function-declaration")