build: fix include directories for subprojects

We have no need to include the top-level when depended on, as config.h
will only ever be used by our internal .c files.

Related !17
This commit is contained in:
Christian Hergert 2023-05-17 14:35:56 -07:00
parent f71a2002ba
commit c0f0d1c22c

View File

@ -132,7 +132,7 @@ libmks_dep = declare_dependency(
sources: libmks_generated_headers,
link_with: libmks,
dependencies: libmks_deps,
include_directories: libmks_include_directories,
include_directories: [include_directories('.')],
)
install_headers(libmks_headers, subdir: 'libmks-@0@'.format(api_version))