aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-03-09 22:33:18 +0100
committerRobert Tari <robert@tari.in>2021-08-04 21:57:11 +0200
commitc81c20e16883233891cffa74b410335d866f0204 (patch)
treea9407d477fc81eab415131a5de7c703d6004e19b
parent1fbee35f494f6b0582c90357315e44492a2467ed (diff)
downloadayatana-indicator-sound-c81c20e16883233891cffa74b410335d866f0204.tar.gz
ayatana-indicator-sound-c81c20e16883233891cffa74b410335d866f0204.tar.bz2
ayatana-indicator-sound-c81c20e16883233891cffa74b410335d866f0204.zip
tests/CMakeLists.txt: Suppress discarded qualifiers warning
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index d72fe1e..0b1ab7a 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -80,6 +80,8 @@ vala_init(vala-mocks
--vapidir=.
)
+set_source_files_properties(media-player-mock.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-discarded-qualifiers")
+
vala_add(vala-mocks
media-player-mock.vala
)