aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2023-10-07 05:56:20 +0200
committerRobert Tari <robert@tari.in>2023-10-07 05:56:20 +0200
commit91165c0c7a0fb9438e7c2f997eaff3d7a82b4615 (patch)
treee8370417e7ddff67616e8c64ed5c98497ea6285a
parentc77a05cbd674615719fe43a869cc7c5d8ebbd054 (diff)
downloadayatana-indicator-sound-91165c0c7a0fb9438e7c2f997eaff3d7a82b4615.tar.gz
ayatana-indicator-sound-91165c0c7a0fb9438e7c2f997eaff3d7a82b4615.tar.bz2
ayatana-indicator-sound-91165c0c7a0fb9438e7c2f997eaff3d7a82b4615.zip
src/CMakeLists.txt: Silence false errors created by Vala
-rw-r--r--src/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6cd24f9..4c57477 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -44,6 +44,14 @@ vala_init(ayatana-indicator-sound-service
${VALA_DEFINE_LOMIRI_FEATURES_ENABLED}
)
+set_source_files_properties (warn-notification.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-function-pointer-types")
+set_source_files_properties (service.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-function-pointer-types")
+set_source_files_properties (volume-control-pulse.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-function-pointer-types")
+set_source_files_properties (volume-warning-pulse.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-function-pointer-types")
+set_source_files_properties (media-player-user.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-function-pointer-types")
+set_source_files_properties (media-player-mpris.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-function-pointer-types")
+set_source_files_properties (media-player-list-mpris.c PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS} -Wno-incompatible-function-pointer-types")
+
vala_add(ayatana-indicator-sound-service
notification.vala
)