Skip to content

Commit

Permalink
Fix meson include directories
Browse files Browse the repository at this point in the history
  • Loading branch information
petabyt committed Nov 14, 2024
1 parent e4525d1 commit f65fc85
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ foreach name, args : libui_examples
link_with: libui_libui,
cpp_args: args.get('cpp_args', []),
link_args: args.get('link_args', []) + libui_example_link_args,
include_directories: include_directories('..'),
include_directories: include_directories('../include'),
gui_app: false,
install: false)
endforeach
3 changes: 2 additions & 1 deletion test/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ executable('tester', libui_test_sources,
dependencies: libui_binary_deps,
link_with: libui_libui,
gui_app: false,
install: false)
install: false,
include_directories : include_directories('../include'))

subdir('unit')
subdir('qa')
3 changes: 2 additions & 1 deletion test/qa/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ executable('qa', libui_qa_sources,
dependencies: libui_binary_deps,
link_with: libui_libui,
gui_app: false,
install: false)
install: false,
include_directories : include_directories('../../include'))
3 changes: 2 additions & 1 deletion test/unit/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ unit = executable('unit', libui_unit_sources,
dependencies: [libui_binary_deps, cmocka_deps],
link_with: libui_libui,
gui_app: false,
install: false)
install: false,
include_directories : include_directories('../../include'))

test('Unit Tests', unit)

0 comments on commit f65fc85

Please sign in to comment.