diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2016-01-12 10:08:56 +0100 |
---|---|---|
committer | Manuel Bachmann <manuel.bachmann@iot.bzh> | 2016-01-12 10:08:56 +0100 |
commit | 00cb8ff4084d635d3a929cb41b8d853f6c4baf76 (patch) | |
tree | 775d6e0c628d75381760316c7c9e6ead96a82eb2 /hvacplugin.cpp | |
parent | 21cf9542c0c85064e22102175a59c4415b5efa58 (diff) |
Fix hvacplugin cross-compilation issue due to wrong path in CMakeLists.txt
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]
Author: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'hvacplugin.cpp')
0 files changed, 0 insertions, 0 deletions