meson: Create include directories in build tree

Without this we get warnings like the following:

  cc1: warning: .../_build/libfprint/nbis/libfprint-include: No such file or directory [-Wmissing-include-dirs]
This commit is contained in:
Benjamin Berg 2020-01-29 15:34:40 +01:00
parent 5ac770c614
commit e19a1a6550
3 changed files with 4 additions and 0 deletions

View file

@ -209,6 +209,10 @@ deps = [
nss_dep, nss_dep,
] ]
# These are empty and only exist so that the include directories are created
# in the build tree. This silences a build time warning.
subdir('nbis/include')
subdir('nbis/libfprint-include')
deps += declare_dependency(include_directories: [ deps += declare_dependency(include_directories: [
root_inc, root_inc,
include_directories('nbis/include'), include_directories('nbis/include'),

View file