From c81c20e16883233891cffa74b410335d866f0204 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 9 Mar 2021 22:33:18 +0100 Subject: tests/CMakeLists.txt: Suppress discarded qualifiers warning --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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 ) -- cgit v1.2.3