On Mon, Jan 12, 2026 at 11:00 AM Markus Volk via lists.openembedded.org
<[email protected]> wrote:

> On Mon, Jan 12 2026 at 10:23:19 -08:00:00, Khem Raj via
> lists.openembedded.org <[email protected]> wrote:
>
> adding native gtest dep is causing build problems with clang/lld as it now
> finds the native version instead of target version.
>
>
> My mistake. I thought it would require native googletest for testing but
> it actually wants to link for target.
>
> Did some testing and either
>
> DEPENDS = "googletest"
> or
> EXTRA_OECMAKE += "-DBUILD_TESTING=OFF"
>

yeah maybe turn it off for now.


>
> would fix the issue as well.
>
> Maybe the latter would be the better fix since tests are not being
> installed and run on target?
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#123390): 
https://lists.openembedded.org/g/openembedded-devel/message/123390
Mute This Topic: https://lists.openembedded.org/mt/117189895/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to