diff options
-rw-r--r-- | meson.build | 7 | ||||
-rw-r--r-- | test/headers/meson.build | 1 | ||||
-rw-r--r-- | test/meson.build | 1 |
3 files changed, 7 insertions, 2 deletions
diff --git a/meson.build b/meson.build index d5efe3c..2bc4012 100644 --- a/meson.build +++ b/meson.build @@ -182,6 +182,7 @@ libsord = library( darwin_versions: [major_version + '.0.0', meson.project_version()], dependencies: [m_dep, zix_dep, serd_dep], gnu_symbol_visibility: 'hidden', + implicit_include_directories: false, include_directories: include_directories('include'), install: true, soversion: soversion, @@ -225,8 +226,9 @@ if not get_option('tools').disabled() 'sordi', files('src/sordi.c'), c_args: c_suppressions, - install: true, dependencies: sord_dep, + implicit_include_directories: false, + install: true, ) meson.override_find_program('sordi', sordi) @@ -238,8 +240,9 @@ if not get_option('tools').disabled() 'sord_validate', files('src/sord_validate.c'), c_args: c_suppressions, - install: true, dependencies: [sord_dep, pcre2_dep], + implicit_include_directories: false, + install: true, ) meson.override_find_program('sord_validate', sord_validate) diff --git a/test/headers/meson.build b/test/headers/meson.build index 47ff9df..4aaf367 100644 --- a/test/headers/meson.build +++ b/test/headers/meson.build @@ -26,6 +26,7 @@ test( files('test_headers.c'), c_args: header_c_suppressions, dependencies: sord_dep, + implicit_include_directories: false, ), suite: 'unit', ) diff --git a/test/meson.build b/test/meson.build index 8a26004..5563c6e 100644 --- a/test/meson.build +++ b/test/meson.build @@ -43,6 +43,7 @@ foreach unit : unit_tests files('test_@0@.c'.format(unit)), c_args: c_suppressions, dependencies: sord_dep, + implicit_include_directories: false, ), suite: 'unit', ) |