Skip to content
Snippets Groups Projects
Commit c1de7653 authored by Steve Lhomme's avatar Steve Lhomme Committed by Steve Lhomme
Browse files

meson: fix adding compat/stdbit to the include path

We can generate the vlc_include_dirs later, it's only used later in the
meson file.
parent 6fff5950
No related branches found
No related tags found
1 merge request!4758meson: fix HAVE_STDBIT_H check
Pipeline #425100 passed with stages
in 32 minutes and 18 seconds
......@@ -94,7 +94,6 @@ if cc.get_id() == 'msvc' or cc.get_id() == 'clang-cl'
# extra POSIX headers not found in the Windows SDK
list_inc_dirs += 'compat/windows'
endif
vlc_include_dirs = include_directories(list_inc_dirs)
if host_system == 'darwin'
add_languages('objc', native: false)
......@@ -266,8 +265,9 @@ foreach header : check_cpp_headers
endforeach
if not cdata.has('HAVE_STDBIT_H')
vlc_include_dirs += include_directories('compat/stdbit')
list_inc_dirs += 'compat/stdbit'
endif
vlc_include_dirs = include_directories(list_inc_dirs)
#
# Darwin specific checks
......
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