Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the order of the system include directories is reversed #32

Closed
mmomtchev opened this issue Jul 22, 2024 · 2 comments · Fixed by #35
Closed

the order of the system include directories is reversed #32

mmomtchev opened this issue Jul 22, 2024 · 2 comments · Fixed by #35

Comments

@mmomtchev
Copy link
Owner

Describe the bug
The order of the system include directories is not preserved

To Reproduce
The most simple case is:

add_library(cmModInt INTERFACE)
target_include_directories(cmModInt SYSTEM INTERFACE "sysA" "sysB")

Expected behavior
sysA should come before sysB

@mmomtchev
Copy link
Owner Author

This seems to be a generic meson problem:

project('test1', [ 'c' ])
inc = include_directories('sysA', 'sysB', is_system : true)
executable('main', sources: 'test.c', include_directories: inc)

@mmomtchev
Copy link
Owner Author

mesonbuild#10399

@mmomtchev mmomtchev changed the title In the cmake module, the order of the system include directories is not preserved the order of the system include directories is reversed Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant