]> code.ossystems Code Review - openembedded-core.git/commit
cmake.bbclass: avoid treating imports as system includes
authorAndreas Müller <schnitzeltony@googlemail.com>
Tue, 6 Sep 2016 21:41:23 +0000 (23:41 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Sep 2016 23:31:38 +0000 (00:31 +0100)
commita5bf690e27a32c5470a4e110ab58ed0a92b9d039
tree3520eb19a887fbbeea09be9bf7975ddbc52b164e
parent66e55d3af7d7948869620ce24c06ba2bc705ae0a
cmake.bbclass: avoid treating imports as system includes

CMake sets all imported headers as system headers. This causes trouble for c++
projects [1].

Thanks to Jack Mitchell for pointing to the setting [2]. Build tested upon
meta-qt5-extra-world which had lots of fallout before.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129
[2] http://lists.openembedded.org/pipermail/openembedded-core/2016-September/126067.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/cmake.bbclass