On Fri, May 22, 2020 at 2:29 PM Otavio Salvador <otavio.salva...@ossystems.com.br> wrote: > > On Fri, May 22, 2020 at 5:48 PM Tom Hochstein <tom.hochst...@nxp.com> wrote: > > The gtest and gmock packages provided by googletest are not added to the > > SDK by default. I assume it is because the googletest main package is empty?
Are you including googletest in the image used to create the SDK or gmock and gtest? It looks like gmock and gtest are only mentioned in the googletest recipe as PROVIDES, so they are aliases for build time dependencies only. For run time dependencies you should use googletest. > > I added an RDEPENDS_${PN} from the dependent package to fix it. Is there a > > better solution? > > You can change the packages to have their `-dev` to rdepends on > `gtest/gmock-dev` for example. > > -- > Otavio Salvador O.S. Systems > http://www.ossystems.com.br http://code.ossystems.com.br > Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#138613): https://lists.openembedded.org/g/openembedded-core/message/138613 Mute This Topic: https://lists.openembedded.org/mt/74408257/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-