diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-20 18:31:40 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-04-20 18:31:40 +0300 |
| commit | 270e96452fa89da85b79e379a34fcecdb42b9fa7 (patch) | |
| tree | 1b2e379384107a4a15c74ccc9c2db4d662cf1bbf | |
| parent | 45fc13c628531c9773da42faf004f1549ac4ff42 (diff) | |
| download | meson-270e96452fa89da85b79e379a34fcecdb42b9fa7.zip meson-270e96452fa89da85b79e379a34fcecdb42b9fa7.tar.gz meson-270e96452fa89da85b79e379a34fcecdb42b9fa7.tar.bz2 | |
Xcode: add target private dir to include path.
| -rw-r--r-- | mesonbuild/backend/xcodebackend.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/xcodebackend.py b/mesonbuild/backend/xcodebackend.py index 6fc6692..ce7a602 100644 --- a/mesonbuild/backend/xcodebackend.py +++ b/mesonbuild/backend/xcodebackend.py @@ -1406,6 +1406,7 @@ class XCodeBackend(backends.Backend): # It is unclear what is the cwd when xcode runs. -I. does not seem to # add the root build dir to the search path. So add an absolute path instead. # This may break reproducible builds, in which case patches are welcome. + lang_cargs += compiler.get_include_args(self.get_target_private_dir_abs(target), is_system=False) lang_cargs += self.get_build_dir_include_args(target, compiler, absolute_path=True) lang_cargs += self.get_source_dir_include_args(target, compiler, absolute_path=True) lang_cargs += self.get_custom_target_dir_include_args(target, compiler, absolute_path=True) |
