Skip to content
Snippets Groups Projects
Commit ff8c5ef1 authored by Izzard, Robert Dr (Maths & Physics)'s avatar Izzard, Robert Dr (Maths & Physics)
Browse files

another go

parent c174e647
No related branches found
No related tags found
No related merge requests found
......@@ -508,7 +508,9 @@ _include_search_paths = [
'/usr/local/include',
]
foreach idir : _include_search_paths
message('search ' + idir)
_ret = run_command('meson/directory_exists.sh',idir).returncode()
message('ret = ' + _ret.to_string())
if _ret == 0
inc_arg = idir
_Inc_arg = '-I' + idir
......@@ -516,12 +518,16 @@ foreach idir : _include_search_paths
args: _Inc_arg)
my_incdirs += [inc_arg]
found = true
message('found')
endif
endif
endforeach
incdirs += [ my_incdirs ]
_i = ' '.join(my_incdirs)
message('Incdirs are ' + _i)
############################################################
# features which are converted into preprocessor flags (-D)
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment