version : '17.3.0-devel',
license : 'MIT',
meson_version : '>= 0.42',
- default_options : ['c_std=c99', 'cpp_std=c++11']
+ default_options : ['buildtype=debugoptimized', 'c_std=c99', 'cpp_std=c++11']
)
# Arguments for the preprocessor, put these in a separate array from the C and
error('When using GCC, version 4.4.6 or later is required.')
endif
-# Define DEBUG for debug and debugoptimized builds
-if get_option('buildtype').startswith('debug')
+# Define DEBUG for debug builds only (debugoptimized is not included on this one)
+if get_option('buildtype') == 'debug'
pre_args += '-DDEBUG'
endif
dep_libdrm_etnaviv = []
dep_libdrm_freedreno = []
if with_amd_vk or with_gallium_radeonsi
- dep_libdrm_amdgpu = dependency('libdrm_amdgpu', version : '>= 2.4.85')
+ dep_libdrm_amdgpu = dependency('libdrm_amdgpu', version : '>= 2.4.88')
endif
if with_gallium_radeonsi or with_dri_r100 or with_dri_r200
dep_libdrm_radeon = dependency('libdrm_radeon', version : '>= 2.4.71')