fdkaac: Mark the dependency include_type as 'system'

When using v2.0.2 of the subproject, it triggers werror for
unused functions that come from the fdkaac headers.

This avoids errors like the following when werror is set.

```
subprojects/fdk-aac-2.0.2/fdk-aac/FDK_audio.h:757:29: error: ‘FDKlibInfo_lookup’
defined but not used [-Werror=unused-function]
  757 | static FDK_AUDIO_INLINE INT FDKlibInfo_lookup(const LIB_INFO* info,
```

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6611>
This commit is contained in:
Jordan Petridis 2024-04-11 18:10:40 +03:00
parent cd95d02032
commit c4e0d19f13

View file

@ -1,4 +1,4 @@
fdkaac_dep = dependency('fdk-aac', allow_fallback: true, required : get_option('fdkaac'))
fdkaac_dep = dependency('fdk-aac', allow_fallback: true, required : get_option('fdkaac'), include_type: 'system')
if fdkaac_dep.found()
fdkaac_defines = []