diff options
author | Ed Tanous <edtanous@google.com> | 2022-10-25 21:55:49 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-11-01 23:54:40 +0300 |
commit | f165deef76063f92ed319d10292be4eabfee0a89 (patch) | |
tree | 5f9a59dd38eb10995f036904d314fc4b2f87ef7a /subprojects/packagefiles | |
parent | a9f68bb5f8e9cfe03fc8b31be5558d4bef20a5f4 (diff) | |
download | bmcweb-f165deef76063f92ed319d10292be4eabfee0a89.tar.xz |
Fix meson warnings
As written, when we pull in the boost and boost-url subprojects, we hit
problems in the meson files.
```
../meson.build:291: WARNING: include_directories sandbox violation!
```
This commit resolves this issue, by adding explicit meson.build files
for both boost and boost-url.
Tested:
meson buildlocal
No longer returns the above error, and shows
Subprojects
boost : YES
boost-url : YES
Whereas previously those two dependencies showed up as NO.
Code compiles.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ib25340723c8cb7d6139e3e51db023e9d90e30aab
Diffstat (limited to 'subprojects/packagefiles')
-rw-r--r-- | subprojects/packagefiles/boost-url/meson.build | 9 | ||||
-rw-r--r-- | subprojects/packagefiles/boost/meson.build | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/subprojects/packagefiles/boost-url/meson.build b/subprojects/packagefiles/boost-url/meson.build new file mode 100644 index 0000000000..7e64115838 --- /dev/null +++ b/subprojects/packagefiles/boost-url/meson.build @@ -0,0 +1,9 @@ +project('boost-url', + 'cpp', + version : '0.1', + license : 'Boost' +) + +boost_url_dep = declare_dependency( + include_directories : include_directories('include'), +) diff --git a/subprojects/packagefiles/boost/meson.build b/subprojects/packagefiles/boost/meson.build new file mode 100644 index 0000000000..9a9c2c5dc7 --- /dev/null +++ b/subprojects/packagefiles/boost/meson.build @@ -0,0 +1,9 @@ +project('boost', + 'cpp', + version : '1.80.0', + license : 'Boost' +) + +boost_dep = declare_dependency( + include_directories : include_directories('.'), +) |