[yocto] [Question]: do_configure fail if cmake project is making use of ExternalProject
Måns Zigher
mans.zigher at gmail.com
Thu Sep 6 13:18:55 PDT 2018
Hi,
Thanks for your reply. A colleague found
OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
and it seems to work. Do you have any comment using this?
Br
Måns Zigher
On Thu, Sep 6, 2018, 13:52 Alexander Kanavin <alex.kanavin at gmail.com> wrote:
> Sadly, Yocto is not well equippped to deal with projects that download
> stuff from the internet as a part of the build process. I'd say if
> it's just one project, write a separate recipe for it, and build it
> via that. Then install into the original recipe's sysroot or build dir
> as needed, and make sure the project doesn't attempt to download it
> anymore.
>
> Alex
>
> 2018-09-06 13:05 GMT+02:00 Måns Zigher <mans.zigher at gmail.com>:
> > Hi,
> >
> > I have a cmake project that is making use of ExternalProject_Add. The
> > external project will make use of git clone to pull down the project. The
> > problem that I am seeing is that the do_configure will fail because it
> > cannot find git which is not part of the sysroot the reason for git not
> > being part the sysroot is that git-native is included in ASSUME_PROVIDED
> > which prevent me from getting it into the sysroot and when running
> > do_configure it will only look for it in the sysroot and not on the host
> if
> > I am not mistaken? What would the best way be to proceed to solve this
> > problem?
> >
> > BR
> > Måns Zigher
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180906/f3737a23/attachment.html>
More information about the yocto
mailing list