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.k...@gmail.com>: > On Mon, Aug 10, 2015 at 12:08 PM, yocto yocto > <yoctomailingl...@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. >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto