Re: [yocto] [Question]: do_configure fail if cmake project is making use of ExternalProject

2018-09-06 Thread Måns Zigher
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 wrote: > Sadly, Yocto is not well equippped to deal with projects that download >

Re: [yocto] [Question]: do_configure fail if cmake project is making use of ExternalProject

2018-09-06 Thread Alexander Kanavin
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

[yocto] [Question]: do_configure fail if cmake project is making use of ExternalProject

2018-09-06 Thread Måns Zigher
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