cmakeModules
cmakeModules copied to clipboard
Use --gcc-toolchain, instead of explicit library paths.
The petalinux sysroot has some shortcomings in the way it is structured which prevent clang from picking the 'right' include and library paths. Rather than patching these individually, it's better to use the --gcc-toolchain argument to get them all in one shot.