Skip to content
Snippets Groups Projects

Meson: Align assert/check options with GLib

Closed Xavier Claessens requested to merge xclaesse/gst-plugins-bad:meson-options into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -98,7 +98,7 @@ if gst_version_is_dev
add_project_arguments('-DG_DISABLE_DEPRECATED', language: 'c')
endif
if get_option('optimization') in ['2', '3', 's']
if not get_option('debug') and get_option('optimization') in ['2', '3', 's']
message('Disabling GLib cast checks')
add_project_arguments('-DG_DISABLE_CAST_CHECKS', language: 'c')
endif
Loading