[libgweather/ebassi/gtk4: 12/14] build: Make introspection errors fatal on request




commit 8e8d5070806ac436b33239f6889bb99946917dd9
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Oct 7 12:58:20 2021 +0100

    build: Make introspection errors fatal on request
    
    When building with `--werror` we also want introspection warnings to be
    fatal to the build.

 libgweather/meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libgweather/meson.build b/libgweather/meson.build
index 43217f52..8199c773 100644
--- a/libgweather/meson.build
+++ b/libgweather/meson.build
@@ -89,6 +89,7 @@ gweather_gir = gnome.generate_gir(lib_libgweather,
     '--quiet',
     '-DGWEATHER_COMPILATION',
   ],
+  fatal_warnings: get_option('werror'),
   install: true,
 )
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]