summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2016-01-12Fix hvacplugin cross-compilation issue due to wrong path in CMakeLists.txtJan-Simon Möller1-1/+1
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>
2016-01-08Add CMAKE_MINIMUM_REQUIRED for CMake >= 3.1Manuel Bachmann1-0/+1
CMake >= 3.1 requires a "CMAKE_MIMIMUM_REQUIRED" directive. Otherwise, an error message mentioning "VERSION_LESS" appears during the configure step, and build fails. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
2015-12-15Initial commitYury Asheshov1-0/+22
Signed-off-by: Manuel Bachmann <mbc@iot.bzh> Author: Yury Asheshov <yury.asheshov@k2l.de>