[yocto] Header-Files of DEPEND recipe not found

yocto yocto yoctomailinglist at gmail.com
Mon Aug 10 23:36:23 PDT 2015


But not within CMakeLists.txt? At least this is not working, cmake is
handling "=" as a normal character. I guess I have to pass a parameter
within my *.bb to cmake containing the sysroot path

2015-08-10 22:36 GMT+02:00 Khem Raj <raj.khem at gmail.com>:

> On Mon, Aug 10, 2015 at 12:08 PM, yocto yocto
> <yoctomailinglist at gmail.com> wrote:
> > SET(SOCI_INCLUDEDIR
> >
> /home/my-PC/development/2015-08-04_edison-src/edison-src/build/tmp/sysroots/edison/usr/include/soci)
> >
> > everything worked fine. Is there any way to get the path
> >
> "/home/my-PC/development/2015-08-04_edison-src/edison-src/build/tmp/sysroots/edison/"
> > within CMakeLists.txt automatically?
>
> you can use =/usr/include/soci which will prepend sysroot automatically.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150811/b6116b6f/attachment.html>


More information about the yocto mailing list