On Fri, May 22, 2020 at 03:33 PM, Andre McCurdy wrote:
On Fri, May 22, 2020 at 2:29 PM Otavio SalvadorRight, I should have mentioned that. I have a DEPENDS on gtest for a package in my image. To fix the SDK, I added an RDEPENDS on googletest from the same package.
<otavio.salvador@ossystems.com.br> wrote:
On Fri, May 22, 2020 at 5:48 PM Tom Hochstein <tom.hochstein@nxp.com> wrote:Are you including googletest in the image used to create the SDK or
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?
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