Update README to describe configuration file format
[src/drm-lease-manager.git] / meson.build
index 2f6cd15..61d8520 100644 (file)
@@ -14,6 +14,7 @@ pkg = import('pkgconfig')
 compiler_flags = [
     '-Wstrict-prototypes',
     '-Wmissing-prototypes',
+    '-Wno-missing-field-initializers',
 ]
 
 #Setup and create runtime path
@@ -34,12 +35,12 @@ configure_file(output: 'config.h',
 configuration_inc = include_directories('.')
 
 drm_dep = dependency('libdrm', version: '>= 2.4.89')
+thread_dep = dependency('threads')
 
 enable_tests = get_option('enable-tests')
 
 if enable_tests
   check_dep = dependency('check')
-  thread_dep = dependency('threads')
 
 # Default to the system provided version of fff.h.
 # otherwise fetch it ourselves.