Meson does not respect target_include_directories(PRIVATE)
in CMake subprojects
#13818
Labels
target_include_directories(PRIVATE)
in CMake subprojects
#13818
Describe the bug
target_include_directories(libfoo PRIVATE)
implies that these private headers will not be propagated to the user of the libfoo.To Reproduce
https://github.com/artem/meson-bug-demo/tree/cmake-module branch
cmake-module
Expected behavior
test.c
does not seeprivate-include/private.h
Autogenerated
meson.build
by the cmake module:system parameters
P.S. Relevant meson code from
master
branch: https://github.com/mesonbuild/meson/blob/7813354/mesonbuild/cmake/interpreter.py#L1171-L1175The text was updated successfully, but these errors were encountered: