[gjs/april-maintenance: 10/14] build: Make sysprof-capture-3 a system include



commit 130063824eedc3fe60dd54a5c0c10934c90cca1f
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Apr 26 15:50:55 2020 -0700

    build: Make sysprof-capture-3 a system include
    
    Its headers produce compiler warnings, so we need to mark them as system
    includes. This requires Meson 0.52.

 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 5378ac5a..999a2baa 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
 project('gjs', 'cpp', 'c', version: '1.65.3', license: ['MIT', 'LGPL2+'],
-    meson_version: '>= 0.50.0',
+    meson_version: '>= 0.52.0',
     default_options: ['cpp_std=c++14', 'c_std=c99', 'warning_level=2'])
 
 api_version = '1.0'
@@ -133,7 +133,7 @@ if cxx.get_id() == 'msvc'
 endif
 
 sysprof_capture = dependency('sysprof-capture-3', version: '>= 3.33.32',
-    required: get_option('profiler'),
+    required: get_option('profiler'), include_type: 'system',
     fallback: ['sysprof', 'libsysprof_capture_dep'])
 
 readline = cxx.find_library('readline', required: get_option('readline'))


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