Thank you Nils, that is exactly the information I needed. Simply setting
`set(CMAKE_NO_SYSTEM_FROM_IMPORTED ON)` achieves the workaround I wanted.
On Wed, Jun 27, 2018 at 11:03 PM, Nils Gladitz
wrote:
> On Thu, Jun 28, 2018 at 7:12 AM Jim Lloyd wrote:
>
>> [...]
>> But if I make a trivial proj
On Thu, Jun 28, 2018 at 7:12 AM Jim Lloyd wrote:
> [...]
> But if I make a trivial project that simply includes yaml-cpp as a
> dependency, the generated compile commands use `-isystem` to include the
> yaml-cpp headers.
>
> Is this a bug in CMake?
>
> Also, is there any way I may be able to work
I am cross compiling to ARM using the g++ 7.2 compilers provided with the
Xilinx SDK.
This compiler was built using old assumptions about system headers being
pure C, such
that when compiled from a .cpp source, the header is wrapped in an `extern
"C" {}`. This causes true C++ headers to fail when