[gjs/april-maintenance: 3/3] build: Make sysprof-capture-3 a system include
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/april-maintenance: 3/3] build: Make sysprof-capture-3 a system include
- Date: Sat, 2 May 2020 17:34:43 +0000 (UTC)
commit 1ee430ddcea4daff0cec7d0502ea102336ade16c
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]