diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2016-01-04 04:21:43 +0100 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2016-01-04 03:24:12 +0000 |
commit | b346f282b1c615e29e7b81b4dbe564e39a8e6063 (patch) | |
tree | 207b4ca0c2470b26a7b595a2a6bfbd0b0b5220e6 /templates/machine/aws-ec2-x86-64 | |
parent | 840de7fe2b32cdacedbbae371a1191d704ca487d (diff) |
Fix hvacplugin cross-compilation issue due to wrong path in CMakeLists.txtalbacore_1.0albacore
Backport from master - urgent.
This patch fixes a cross-compilation issue with hvacplugin.
The absolute path set for Boost_INCLUDE_DIRS is not
cross-compilation save.
According to https://cmake.org/Wiki/CMake:How_To_Find_Libraries
we better use find_package(Boost REQUIRED) .
Otherwise bitbake might fail with:
ERROR: QA Issue: hvacplugin: The compile log indicates that
host include and/or library paths were used.
Please check the log .../hvacplugin/0.1-r0/temp/log.do_compile'
for more information. [compile-host-path]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
Due to:
cc1plus: warning: include location "/usr/include/boost" is unsafe
for cross-compilation [-Wpoison-system-directories]
Change-Id: I114962b60fdb0162f9e9a88964705cbbba901278
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'templates/machine/aws-ec2-x86-64')
0 files changed, 0 insertions, 0 deletions